You are here

function bat_event_add_page in Booking and Availability Management Tools for Drupal 7

Page to add Units.

@todo Pass this through a proper theme function

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

File

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

Code

function bat_event_add_page() {
  $controller = entity_ui_controller('bat_event');
  return $controller
    ->addPage();
}