You are here

function civicrm_entity_permission in CiviCRM Entity 7

Same name and namespace in other branches
  1. 7.2 civicrm_entity.module \civicrm_entity_permission()

Implements hook_permission().

File

./civicrm_entity.module, line 35
Implement CiviCRM entities as a Drupal Entity.

Code

function civicrm_entity_permission() {
  return array(
    'civicrm_entity.rules.administer' => array(
      'title' => t('Administer CiviCRM rule configurations'),
      'restrict access' => TRUE,
    ),
  );
}