class ContactPermissions in CRM Core 8
Same name and namespace in other branches
- 8.3 modules/crm_core_contact/src/ContactPermissions.php \Drupal\crm_core_contact\ContactPermissions
- 8.2 modules/crm_core_contact/src/ContactPermissions.php \Drupal\crm_core_contact\ContactPermissions
Class ContactPermissions.
Hierarchy
- class \Drupal\crm_core_contact\ContactPermissions
Expanded class hierarchy of ContactPermissions
File
- modules/
crm_core_contact/ src/ ContactPermissions.php, line 10
Namespace
Drupal\crm_core_contactView source
class ContactPermissions {
/**
* Returns Individual and Organization permissions.
*
* @return array
* CRM Core Individual and Organization permissions.
*/
public function permissions() {
$perm_builder = new CRMCorePermissions();
return array_merge($perm_builder
->entityTypePermissions('crm_core_individual'), $perm_builder
->entityTypePermissions('crm_core_organization'));
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ContactPermissions:: |
public | function | Returns Individual and Organization permissions. |