You are here

function advanced_help_get_topic_filename in Advanced Help 6

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

Load and render a help topic.

1 call to advanced_help_get_topic_filename()
advanced_help_update_index in ./advanced_help.module
Implements hook_update_index().

File

./advanced_help.module, line 500
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']}";
  }
}