You are here

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

Form callback wrapper: delete a booking.

Parameters

$booking: The booking object being edited by this form.

See also

rooms_booking_edit_form()

1 string reference to 'rooms_booking_delete_form_wrapper'
RoomsBookingUIController::hook_menu in modules/rooms_booking/rooms_booking.admin.inc
Overrides hook_menu() defaults.

File

modules/rooms_booking/rooms_booking.admin.inc, line 180
Rooms editing UI.

Code

function rooms_booking_delete_form_wrapper($booking) {

  // Add the breadcrumb for the form's location.
  rooms_booking_set_breadcrumb();
  return drupal_get_form('rooms_booking_delete_form', $booking);
}