You are here

function advanced_help_get_topic in Advanced Help 7

Same name and namespace in other branches
  1. 5 advanced_help.module \advanced_help_get_topic()
  2. 6 advanced_help.module \advanced_help_get_topic()

Get the information for a single help topic.

4 calls to advanced_help_get_topic()
advanced_help_get_topic_file_info in ./advanced_help.module
Load and render a help topic.
advanced_help_topic_page in ./advanced_help.module
Page callback to view a help topic.
advanced_help_view_topic in ./advanced_help.module
Load and render a help topic.
theme_advanced_help_topic in ./advanced_help.module
Display a help icon with a link to view the topic in a popup.

File

./advanced_help.module, line 849
Pluggable system to provide advanced help facilities for Drupal and modules.

Code

function advanced_help_get_topic($module, $topic) {
  $topics = advanced_help_get_topics();
  if (!empty($topics[$module][$topic])) {
    return $topics[$module][$topic];
  }
}