public function HelpController::helpMain in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/help/src/Controller/HelpController.php \Drupal\help\Controller\HelpController::helpMain()
Prints a page listing a glossary of Drupal terminology.
Return value
string An HTML string representing the contents of help page.
1 string reference to 'HelpController::helpMain'
- help.routing.yml in core/
modules/ help/ help.routing.yml - core/modules/help/help.routing.yml
File
- core/
modules/ help/ src/ Controller/ HelpController.php, line 53 - Contains \Drupal\help\Controller\HelpController.
Class
- HelpController
- Controller routines for help routes.
Namespace
Drupal\help\ControllerCode
public function helpMain() {
$output = array(
'#markup' => '<h2>' . $this
->t('Help topics') . '</h2><p>' . $this
->t('Help is available on the following items:') . '</p>',
'links' => $this
->helpLinksAsList(),
);
return $output;
}