You are here

public function AdvancedHelpManager::getTopic in Advanced Help 8

Get the information for a single help topic.

Parameters

$module:

$topic:

Return value

string|bool

1 call to AdvancedHelpManager::getTopic()
AdvancedHelpManager::getTopicFileInfo in src/AdvancedHelpManager.php
Load and render a help topic.

File

src/AdvancedHelpManager.php, line 79

Class

AdvancedHelpManager
AdvancedHelp plugin manager.

Namespace

Drupal\advanced_help

Code

public function getTopic($module, $topic) {
  $topics = $this
    ->getTopics();
  if (!empty($topics[$module][$topic])) {
    return $topics[$module][$topic];
  }
  return FALSE;
}