You are here

public function ConfigTestForm::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/config/tests/config_test/src/ConfigTestForm.php \Drupal\config_test\ConfigTestForm::__construct()

Constructs a new ConfigTestForm.

Parameters

\Drupal\Core\Entity\Query\QueryFactory $entity_query: The entity query.

File

core/modules/config/tests/config_test/src/ConfigTestForm.php, line 34
Contains \Drupal\config_test\ConfigTestForm.

Class

ConfigTestForm
Form controller for the test config edit forms.

Namespace

Drupal\config_test

Code

public function __construct(QueryFactory $entity_query) {
  $this->entityQuery = $entity_query;
}