You are here

function EntityTestDefinitionSubscriber::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/tests/modules/entity_test/src/EntityTestDefinitionSubscriber.php \Drupal\entity_test\EntityTestDefinitionSubscriber::__construct()

File

core/modules/system/tests/modules/entity_test/src/EntityTestDefinitionSubscriber.php, line 46
Contains \Drupal\entity_test\EntityTestDefinitionSubscriber.

Class

EntityTestDefinitionSubscriber
Test entity type and field storage definition event subscriber.

Namespace

Drupal\entity_test

Code

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