You are here

function registration_type_access in Entity Registration 8.2

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

Access callback for the entity API.

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

File

./registration.module, line 2011

Code

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