public function HelpController::__construct in Drupal 9
Same name and namespace in other branches
- 8 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\ControllerCode
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;
}