You are here

function date_popup_menu in Date 6.2

Same name and namespace in other branches
  1. 5.2 date_popup/date_popup.module \date_popup_menu()
  2. 7.3 date_popup/date_popup.module \date_popup_menu()
  3. 7 date_popup/date_popup.module \date_popup_menu()
  4. 7.2 date_popup/date_popup.module \date_popup_menu()

Implementation of hook_menu().

File

date_popup/date_popup.module, line 630
A module to enable jquery calendar and time entry popups. Requires the Date API.

Code

function date_popup_menu() {
  $items = array();
  $items['admin/settings/date_popup'] = array(
    'title' => 'Date Popup Configuration',
    'description' => 'Allows the user to configure the Date Popup settings.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'date_popup_settings',
    ),
    'access callback' => 'user_access',
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}