public function HelpController::__construct

Constructs a \Drupal\help\Controller\HelpController object.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

File

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

Class

HelpController
Controller routines for help routes.

Namespace

Drupal\help\Controller

Code

public function __construct(ModuleHandlerInterface $module_handler) {
  $this->moduleHandler = $module_handler;
}