You are here

function registration_type_access in Entity Registration 8

Same name and namespace in other branches
  1. 8.2 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 1933

Code

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