You are here

function advanced_help_get_topic_filename in Advanced Help 7

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

Load and render a help topic.

2 calls to advanced_help_get_topic_filename()
advanced_help_search_status in ./advanced_help.module
Implements hook_search_status().
advanced_help_update_index in ./advanced_help.module
Implements hook_update_index().

File

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

Code

function advanced_help_get_topic_filename($module, $topic) {
  $info = advanced_help_get_topic_file_info($module, $topic);
  if ($info) {
    return "{$info['path']}/{$info['file']}";
  }
}