function registration_type_access in Entity Registration 7
Same name and namespace in other branches
- 8.2 registration.module \registration_type_access()
- 8 registration.module \registration_type_access()
- 7.2 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 2020
Code
function registration_type_access($op, $entity = NULL, $account = NULL, $entity_type = NULL) {
return user_access('administer registration types', $account);
}