You are here

function rooms_availability_reference_menu in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7

Implements hook_menu().

File

modules/rooms_availability_reference/rooms_availability_reference.module, line 24
Defines a field type for referencing availability information

Code

function rooms_availability_reference_menu() {
  $items['rooms_availability_reference/autocomplete/%/%/%'] = array(
    'page callback' => 'rooms_availability_reference_autocomplete',
    'page arguments' => array(
      2,
      3,
      4,
    ),
    'access arguments' => array(
      'reference booking unit availability',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}