function bat_booking_example_menu in Booking and Availability Management Tools for Drupal 7
Implements hook_menu().
File
- modules/
bat_booking/ bat_booking_example/ bat_booking_example.module, line 15
Code
function bat_booking_example_menu() {
$items = array();
$items['booking/%start_date/%end_date/%'] = array(
'title' => 'Booking',
'page callback' => 'bat_booking_confirmation_page',
'page arguments' => array(
1,
2,
3,
),
'access arguments' => array(
'book units',
),
'type' => MENU_CALLBACK,
);
return $items;
}