function crm_core_activity_permission in CRM Core 7
Implements hook_permission().
File
- modules/
crm_core_activity/ crm_core_activity.module, line 160 - Provides an entity for recording a contact's activities.
Code
function crm_core_activity_permission() {
$permissions = array(
'administer activity types' => array(
'title' => t('Administer activity types'),
'description' => t('Allows users to configure activity types and their fields.'),
'restrict access' => TRUE,
),
);
$permissions += crm_core_entity_access_permissions('crm_core_activity');
return $permissions;
}