You are here

function registration_state_access in Entity Registration 8

Same name and namespace in other branches
  1. 8.2 registration.module \registration_state_access()
  2. 7.2 registration.module \registration_state_access()
  3. 7 registration.module \registration_state_access()

Access callback for the entity API.

1 string reference to 'registration_state_access'
registration_entity_info in ./registration.module
Implements hook_entity_info().

File

./registration.module, line 1954

Code

function registration_state_access($op, $entity = NULL, $account = NULL, $entity_type = NULL) {
  return $account
    ->hasPermission('administer registration states');
}