function help_help in Drupal 6
Same name and namespace in other branches
- 8 core/modules/help/help.module \help_help()
- 4 modules/help.module \help_help()
- 5 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 37 - Manages displaying online help.
Code
function help_help($path, $arg) {
switch ($path) {
case 'admin/help':
$output = '<p>' . t('This guide provides context sensitive help on the use and configuration of <a href="@drupal">Drupal</a> and its modules, and is a supplement to the more extensive online <a href="@handbook">Drupal handbook</a>. The online handbook may contain more up-to-date information, is annotated with helpful user-contributed comments, and serves as the definitive reference point for all Drupal documentation.', array(
'@drupal' => 'http://drupal.org',
'@handbook' => 'http://drupal.org/handbook',
)) . '</p>';
return $output;
case 'admin/help#help':
$output = '<p>' . t('The help module provides context sensitive help on the use and configuration of <a href="@drupal">Drupal</a> and its modules, and is a supplement to the more extensive online <a href="@handbook">Drupal handbook</a>. The online handbook may contain more up-to-date information, is annotated with helpful user-contributed comments, and serves as the definitive reference point for all Drupal documentation.', array(
'@drupal' => 'http://drupal.org',
'@handbook' => 'http://drupal.org/handbook',
)) . '</p>';
$output .= '<p>' . t('For more information, see the online handbook entry for <a href="@help">Help module</a>.', array(
'@help' => 'http://drupal.org/handbook/modules/help/',
)) . '</p>';
return $output;
}
}