public function AdvancedHelpController::topicPageTitle in Advanced Help 8
Set the title of the topic.
Parameters
$module:
$topic:
Return value
string
1 string reference to 'AdvancedHelpController::topicPageTitle'
File
- src/
Controller/ AdvancedHelpController.php, line 400
Class
- AdvancedHelpController
- Class AdvancedHelpController.
Namespace
Drupal\advanced_help\ControllerCode
public function topicPageTitle($module, $topic) {
$info = $this->advanced_help
->getTopic($module, $topic);
if (!$info) {
throw new NotFoundHttpException();
}
return $info['title'];
}