You are here

function bat_event_delete_form_wrapper in Booking and Availability Management Tools for Drupal 7

Form callback wrapper: delete a event.

Parameters

BatEvent $event: The event object being edited by this form.

See also

bat_event_edit_form()

1 string reference to 'bat_event_delete_form_wrapper'
BatEventUIController::hook_menu in modules/bat_event/bat_event.admin.inc
Overrides hook_menu() defaults.

File

modules/bat_event/bat_event.admin.inc, line 183
Unit event editing UI.

Code

function bat_event_delete_form_wrapper(BatEvent $event) {

  // Add the breadcrumb for the form's location.
  bat_event_set_breadcrumb();
  return drupal_get_form('bat_event_delete_form', $event);
}