You are here

function date_locale_menu in Date 6.2

Implementation of hook_menu().

File

date_locale/date_locale.module, line 41
Enable different locales to have their own date formats.

Code

function date_locale_menu() {
  $items = array();
  $items['admin/settings/date-time/locale'] = array(
    'title' => 'Locale date settings',
    'description' => 'Configure date formats for each locale',
    'type' => MENU_LOCAL_TASK,
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'date_locale_format_form',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'weight' => 1,
  );
  return $items;
}