You are here

function rooms_unit_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_unit_type_access'
rooms_unit_entity_info in modules/rooms_unit/rooms_unit.module
Implements hook_entity_info().

File

modules/rooms_unit/rooms_unit.module, line 240
Manage units - Units are things that can be booked on a nightly basis (e.g. rooms - but also villas bungalows, etc).

Code

function rooms_unit_type_access($op, $type = NULL, $account = NULL) {
  return user_access('administer rooms_unit_type entities', $account);
}