permissions.php
Table of Contents
Functions
- _civicrm_api3_permissions() : array<string|int, mixed>
- Decide what permissions to check for an api call
Functions
_civicrm_api3_permissions()
Decide what permissions to check for an api call
_civicrm_api3_permissions(string $entity, string $action, array<string|int, mixed> &$params) : array<string|int, mixed>
Parameters
- $entity : string
-
api entity
- $action : string
-
api action
- $params : array<string|int, mixed>
-
api params
Return values
array<string|int, mixed> —Array of permissions to check for this entity-action combo