function rooms_booking_type_access in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7
Access callback for the entity API.
1 string reference to 'rooms_booking_type_access'
- rooms_booking_entity_info in modules/
rooms_booking/ rooms_booking.module - Implements hook_entity_info().
File
- modules/
rooms_booking/ rooms_booking.module, line 615 - Manage Bookings - Bookings are tied to a customer profile and possible a Unit ID and Order ID.
Code
function rooms_booking_type_access($op, $type = NULL, $account = NULL) {
return user_access('administer rooms_booking_type entities', $account);
}