You are here

public function CommandSubscriber::__construct in Update helper 8

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

Command subscriber class.

Parameters

\Drupal\update_helper\Generator\ConfigurationUpdateHookGenerator $generator: Update hook generator service.

File

src/Events/CommandSubscriber.php, line 26

Class

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

Namespace

Drupal\update_helper\Events

Code

public function __construct(ConfigurationUpdateHookGenerator $generator) {
  $this->generator = $generator;
}