function bat_booking_confirmation_page in Booking and Availability Management Tools for Drupal 7
Booking confirmation page.
1 string reference to 'bat_booking_confirmation_page'
- bat_booking_example_menu in modules/
bat_booking/ bat_booking_example/ bat_booking_example.module - Implements hook_menu().
File
- modules/
bat_booking/ bat_booking_example/ bat_booking_example.module, line 57
Code
function bat_booking_confirmation_page($start_date, $end_date, $type_id) {
$header = $start_date
->format('Y-m-d') . ' - ' . $end_date
->format('Y-m-d');
$form = drupal_get_form('bat_booking_confirmation_form', $start_date, $end_date, $type_id);
return array(
'#theme' => 'booking_confirmation_page',
'#header' => $header,
'#form' => $form,
);
}