You are here

function bat_event_ui_menu in Booking and Availability Management Tools for Drupal 7

Implements hook_menu().

File

modules/bat_event_ui/bat_event_ui.module, line 14
Manages events for Units and displaying dates on the jquery FullCalendar plugin.

Code

function bat_event_ui_menu() {
  $items = array();
  $items['admin/bat/calendar'] = array(
    'title' => 'Calendar',
    'page callback' => 'bat_event_ui_calendar_page',
    'page arguments' => array(
      3,
      4,
    ),
    'access arguments' => array(
      'administer calendar events',
    ),
    'type' => MENU_CALLBACK,
    'weight' => 20,
  );
  return $items;
}