You are here

function fullcalendar_menu in FullCalendar 6

Same name and namespace in other branches
  1. 6.2 fullcalendar.module \fullcalendar_menu()
  2. 7.2 fullcalendar.module \fullcalendar_menu()
  3. 7 fullcalendar.module \fullcalendar_menu()

Implementation of hook_menu().

Return value

An array of menu items.

File

./fullcalendar.module, line 82
Provides a views style plugin for FullCalendar

Code

function fullcalendar_menu() {
  $items = array();
  $items['admin/settings/fullcalendar'] = array(
    'title' => 'FullCalendar',
    'description' => 'Adjust FullCalendar settings.',
    'file' => 'fullcalendar.admin.inc',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'fullcalendar_admin_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
  );
  $items['fullcalendar/ajax/update/%/%node'] = array(
    'title' => 'Update event',
    'description' => 'Save the updated event datetime.',
    'page callback' => 'fullcalendar_update',
    'page arguments' => array(
      3,
      4,
    ),
    'access callback' => '_fullcalendar_update_access',
    'access arguments' => array(
      4,
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}