function bat_type_bundle_access in Booking and Availability Management Tools for Drupal 7
Same name and namespace in other branches
- 8 modules/bat_unit/bat_unit.module \bat_type_bundle_access()
Access callback for the entity API.
1 string reference to 'bat_type_bundle_access'
- bat_unit_entity_info in modules/
bat_unit/ bat_unit.module - Implements hook_entity_info().
File
- modules/
bat_unit/ bat_unit.module, line 1331
Code
function bat_type_bundle_access($op, $bundle = NULL, $account = NULL) {
return user_access('administer bat_type_bundle entities', $account);
}