public function EntityLegalDocumentForm::__construct in Entity Legal 8
Same name and namespace in other branches
- 8.2 src/Form/EntityLegalDocumentForm.php \Drupal\entity_legal\Form\EntityLegalDocumentForm::__construct()
- 4.0.x src/Form/EntityLegalDocumentForm.php \Drupal\entity_legal\Form\EntityLegalDocumentForm::__construct()
- 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\FormCode
public function __construct(QueryFactory $entity_query) {
$this->entityQuery = $entity_query;
}