You are here

function bat_unit_add_page in Booking and Availability Management Tools for Drupal 7

Page to add Units.

1 string reference to 'bat_unit_add_page'
BatUnitUIController::hook_menu in modules/bat_unit/bat_unit.admin.inc
Overrides hook_menu() defaults.

File

modules/bat_unit/bat_unit.admin.inc, line 437
BatUnit editing UI.

Code

function bat_unit_add_page() {
  $controller = entity_ui_controller('bat_unit');
  return $controller
    ->addPage();
}