function HelpController::__construct

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

Creates a new HelpController.

Parameters

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

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

\Drupal\Core\Extension\ModuleExtensionList|null $module_extension_list: The module extension list.

File

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

Class

HelpController
Controller routines for help routes.

Namespace

Drupal\help\Controller

Code

public function __construct(RouteMatchInterface $route_match, HelpSectionManager $help_manager, ModuleExtensionList $module_extension_list) {
    $this->routeMatch = $route_match;
    $this->helpManager = $help_manager;
    $this->moduleExtensionList = $module_extension_list;
}

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