function HelpController::__construct

Same name in other branches
  1. 9 core/modules/help/src/Controller/HelpController.php \Drupal\help\Controller\HelpController::__construct()
  2. 8.9.x core/modules/help/src/Controller/HelpController.php \Drupal\help\Controller\HelpController::__construct()
  3. 10 core/modules/help/src/Controller/HelpController.php \Drupal\help\Controller\HelpController::__construct()

Creates a new HelpController.

Parameters

\Drupal\Core\Routing\RouteMatchInterface $routeMatch: The current route match.

\Drupal\help\HelpSectionManager $helpManager: The help section manager.

\Drupal\Core\Extension\ModuleExtensionList $moduleExtensionList: The module extension list.

\Drupal\system\ModuleAdminLinksHelper $moduleAdminLinks: The module admin links.

\Drupal\user\ModulePermissionsLinkHelper $modulePermissionsLinks: The module permissions link.

File

core/modules/help/src/Controller/HelpController.php, line 35

Class

HelpController
Controller routines for help routes.

Namespace

Drupal\help\Controller

Code

public function __construct(RouteMatchInterface $routeMatch, HelpSectionManager $helpManager, ModuleExtensionList $moduleExtensionList, ModuleAdminLinksHelper $moduleAdminLinks, ModulePermissionsLinkHelper $modulePermissionsLinks) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.