You are here

function bat_type_add_page in Booking and Availability Management Tools for Drupal 7

Page to add Types.

1 string reference to 'bat_type_add_page'
BatTypeUIController::hook_menu in modules/bat_unit/bat_type.admin.inc
Overrides hook_menu() defaults.

File

modules/bat_unit/bat_type.admin.inc, line 715
BatType editing UI.

Code

function bat_type_add_page() {
  $controller = entity_ui_controller('bat_type');
  return $controller
    ->addPage();
}