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