You are here

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

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

CommandGcuSubscriber constructor.

Parameters

\Drupal\update_helper_checklist\UpdateChecklist $update_checklist: Update checklist service.

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

File

modules/update_helper_checklist/src/Events/CommandGcuSubscriber.php, line 70

Class

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

Namespace

Drupal\update_helper_checklist\Events

Code

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