function datex_menu in Datex 7.3
Same name and namespace in other branches
- 7 datex.module \datex_menu()
- 7.2 datex.module \datex_menu()
Implements hook_menu().
For admin forms.
File
- ./
datex.module, line 21 - Datex main module file, Datex adds php-intl support to drupal.
Code
function datex_menu() {
$items['admin/config/regional/date-time/datex'] = [
'title' => 'Datex',
'page callback' => 'drupal_get_form',
'page arguments' => [
'datex_admin_form',
],
'access arguments' => [
'administer site configuration',
],
'type' => MENU_LOCAL_TASK,
'file' => 'datex.admin.inc',
];
$items['admin/config/regional/date-time/datex/edit/%'] = [
'title' => 'Datex edit schema',
'page callback' => 'drupal_get_form',
'page arguments' => [
'datex_schema_edit_form',
6,
],
'access arguments' => [
'administer site configuration',
],
'type' => MENU_CALLBACK,
'file' => 'datex.admin.inc',
];
return $items;
}