You are here

function civicrm_entity_rules_access in CiviCRM Entity 7

Same name and namespace in other branches
  1. 7.2 civicrm_entity.rules.inc \civicrm_entity_rules_access()

User access function.

Parameters

String $type: Ignored.

String $name: Ignored.

Return value

bool

File

./civicrm_entity.rules.inc, line 413
Implement Drupal Rules integration for CiviCRM

Code

function civicrm_entity_rules_access($type, $name) {
  return user_access('civicrm_entity.rules.administer');
}