function EventSubscriber::__construct

Constructs the Event Subscriber object.

Parameters

\Drupal\Core\State\StateInterface $state: The state key value store.

File

core/modules/config/tests/config_collection_install_test/src/EventSubscriber.php, line 25

Class

EventSubscriber

Namespace

Drupal\config_collection_install_test

Code

public function __construct(StateInterface $state) {
  $this->state = $state;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.