function warden_menu in Warden 6
Same name and namespace in other branches
- 7 warden.module \warden_menu()
Implements hook_menu().
File
- ./
warden.module, line 32 - Drupal system status
Code
function warden_menu() {
$items = array();
$items['admin/reports/warden'] = array(
'title' => 'Warden',
'description' => 'Output of the Warden module',
'access callback' => 'warden_access_callback',
'page callback' => 'warden_status_page',
'file' => 'warden.page.inc',
'type' => MENU_CALLBACK,
);
$items['admin/settings/warden'] = array(
'title' => 'Warden',
'description' => 'Configuration for Warden module',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'warden_form',
),
'file' => 'warden.admin.inc',
'access arguments' => array(
'administer site configuration',
),
'type' => MENU_NORMAL_ITEM,
);
return $items;
}