function help_help in Drupal 5
Same name and namespace in other branches
- 8 core/modules/help/help.module \help_help()
- 4 modules/help.module \help_help()
- 6 modules/help/help.module \help_help()
- 7 modules/help/help.module \help_help()
- 9 core/modules/help/help.module \help_help()
Implementation of hook_help().
File
- modules/
help/ help.module, line 89 - Manages displaying online help.
Code
function help_help($section) {
switch ($section) {
case 'admin/help':
$output = t('<p>This guide explains what the various modules in <a href="@Drupal">Drupal</a> do and how to configure them. Additionally, you will find a glossary of basic Drupal terminology to help get you started.</p>
<p>It is not a substitute for the <a href="@handbook">Drupal handbook</a> available online and should be used in conjunction with it. The online reference handbook might be more up-to-date and has helpful user-contributed comments. It is your definitive reference point for all Drupal documentation.</p>
', array(
'@Drupal' => 'http://drupal.org',
'@handbook' => 'http://drupal.org/handbook',
));
return $output;
case 'admin/help#help':
$output = '<p>' . t('The help module displays context sensitive help information. Users can learn how to use modules and accomplish tasks quicker with less errors by clicking on links in provided by the help module.') . '</p>';
$output .= t("<p>Modules can make documentation available to other modules with this module. All user help should be presented using this module. Some examples of help: </p>\n<ul>\n<li>The module's help text, displayed on the <a href=\"@help\">help page</a> and through the module's individual help link.</li>\n<li>More elaborate help text on sites a module defines.</li>\n<li>The help for a distributed authorization module (if applicable).</li>\n</ul>\n", array(
'@help' => url('admin/help'),
));
$output .= '<p>' . t('For more information please read the configuration and customization handbook <a href="@help">Help page</a>.', array(
'@help' => 'http://drupal.org/handbook/modules/help/',
)) . '</p>';
return $output;
}
}