You are here

function date_popup_menu in Date 7

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

Implement hook_menu().

File

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

Code

function date_popup_menu() {
  $items = array();

  // TODO Fix this later.
  $items['admin/config/content/date_popup'] = array(
    'title' => 'Date Popup',
    'description' => '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',
    ),
  );
  return $items;
}