function advanced_help_help in Advanced Help 7
Implements hook_help().
File
- ./
advanced_help.module, line 38 - Pluggable system to provide advanced help facilities for Drupal and modules.
Code
function advanced_help_help($path, $arg) {
if ($path == 'admin/help#advanced_help') {
$output = '<p>' . t('This module provides extended help and documentation.') . '</p>';
if (function_exists('advanced_help_hint_docs')) {
$output .= '<p>' . advanced_help_hint_docs('advanced_help', 'https://www.drupal.org/docs/7/modules/advanced-help', TRUE) . '</p>';
}
else {
$output .= t('If you install and enable the module <strong>!url</strong>, you will get more help for <strong>Advanced help</strong>.', array(
'!url' => l('Advanced help hint', 'https://www.drupal.org/project/advanced_help_hint'),
));
}
return $output;
}
}