You are here

public function CommandSubscriber::__construct in Update helper 2.x

Same name and namespace in other branches
  1. 8 src/Events/CommandSubscriber.php \Drupal\update_helper\Events\CommandSubscriber::__construct()

Command subscriber class.

Parameters

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

File

src/Events/CommandSubscriber.php, line 28

Class

CommandSubscriber
Subscriber for "generate:configuration:update" command.

Namespace

Drupal\update_helper\Events

Code

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