function system_status_menu in System Status 7
Same name and namespace in other branches
- 8.2 system_status.module \system_status_menu()
- 8 system_status.module \system_status_menu()
- 6.2 system_status.module \system_status_menu()
Implements hook_menu().
File
- ./
system_status.module, line 24 - Drupal system status
Code
function system_status_menu() {
$items = array();
$items['admin/reports/system_status'] = array(
'title' => 'System Status',
'description' => 'Output of the System status module',
'access callback' => 'system_status_access_callback',
'access arguments' => array(
3,
),
'page callback' => 'system_status_status_page',
'file' => 'system_status_status.page.inc',
);
$items['admin/config/system/system_status'] = array(
'title' => 'System Status',
'description' => 'Configuration for System status module',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'system_status_form',
),
'file' => 'system_status.admin.inc',
'access arguments' => array(
'administer site configuration',
),
'type' => MENU_NORMAL_ITEM,
);
return $items;
}