You are here

public function EntityLegalDocumentForm::__construct in Entity Legal 8

Same name and namespace in other branches
  1. 8.2 src/Form/EntityLegalDocumentForm.php \Drupal\entity_legal\Form\EntityLegalDocumentForm::__construct()
  2. 4.0.x src/Form/EntityLegalDocumentForm.php \Drupal\entity_legal\Form\EntityLegalDocumentForm::__construct()
  3. 3.0.x src/Form/EntityLegalDocumentForm.php \Drupal\entity_legal\Form\EntityLegalDocumentForm::__construct()

Parameters

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

File

src/Form/EntityLegalDocumentForm.php, line 24
Contains \Drupal\entity_legal\Form\EntityLegalDocumentForm.

Class

EntityLegalDocumentForm
Entity Legal Document create and edit form handler.

Namespace

Drupal\entity_legal\Form

Code

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