function help_page in Drupal 4
Same name and namespace in other branches
- 5 modules/help/help.module \help_page()
- 6 modules/help/help.admin.inc \help_page()
- 7 modules/help/help.admin.inc \help_page()
Menu callback; prints a page listing general help for all modules.
1 string reference to 'help_page'
- help_menu in modules/
help.module - Implementation of hook_menu().
File
- modules/
help.module, line 121 - Manages displaying online help.
Code
function help_page() {
$name = arg(2);
$output = '';
if (module_hook($name, 'help')) {
$temp = module_invoke($name, 'help', "admin/help#{$name}");
if (empty($temp)) {
$output .= t("No help is available for module %module.", array(
'%module' => $name,
));
}
else {
$output .= $temp;
}
}
return $output;
}