You are here

function fullcalendar_options_menu in FullCalendar 7.2

Implements hook_menu().

File

fullcalendar_options/fullcalendar_options.module, line 11
Processes various FullCalendar configuration extenders.

Code

function fullcalendar_options_menu() {
  $items = array();
  $items['admin/config/user-interface/fullcalendar/options'] = array(
    'title' => 'Options',
    'description' => 'Enable or disable extra FullCalendar options.',
    'file' => 'fullcalendar_options.admin.inc',
    'file path' => drupal_get_path('module', 'fullcalendar_options') . '/includes',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'fullcalendar_options_admin_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => 2,
  );
  return $items;
}