You are here

function advanced_help_get_topic in Advanced Help 5

Same name and namespace in other branches
  1. 6 advanced_help.module \advanced_help_get_topic()
  2. 7 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_filename 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 551
advanced_help.module

Code

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