You are here

function datex_menu in Datex 7

Same name and namespace in other branches
  1. 7.3 datex.module \datex_menu()
  2. 7.2 datex.module \datex_menu()

Implements hook_menu().

File

./datex.module, line 30
Convert output of date_format() to Jalali in a patched drupal installation.

Code

function datex_menu() {
  $items['admin/config/regional/date-time/datex'] = array(
    'title' => 'Datex',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'datex_admin_form',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}