function help_menu in Drupal 6
Same name and namespace in other branches
- 4 modules/help.module \help_menu()
- 5 modules/help/help.module \help_menu()
- 7 modules/help/help.module \help_menu()
Implementation of hook_menu().
File
- modules/
help/ help.module, line 11 - Manages displaying online help.
Code
function help_menu() {
$items['admin/help'] = array(
'title' => 'Help',
'page callback' => 'help_main',
'access arguments' => array(
'access administration pages',
),
'weight' => 9,
'file' => 'help.admin.inc',
);
foreach (module_implements('help', TRUE) as $module) {
$items['admin/help/' . $module] = array(
'title' => $module,
'page callback' => 'help_page',
'page arguments' => array(
2,
),
'access arguments' => array(
'access administration pages',
),
'type' => MENU_CALLBACK,
'file' => 'help.admin.inc',
);
}
return $items;
}