public function 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 drupal/core/modules/help/help.routing.yml
drupal/core/modules/help/help.routing.yml

File

drupal/core/modules/help/lib/Drupal/help/Controller/HelpController.php, line 48
Contains \Drupal\help\Controller\HelpController.

Class

HelpController
Controller routines for help routes.

Namespace

Drupal\help\Controller

Code

public function helpMain() {
  $output = array(
    '#attached' => array(
      'css' => array(
        drupal_get_path('module', 'help') . '/css/help.module.css',
      ),
    ),
    '#markup' => '<h2>' . t('Help topics') . '</h2><p>' . t('Help is available on the following items:') . '</p>' . $this
      ->helpLinksAsList(),
  );
  return $output;
}