public function PageGeneralForm::__construct in Page Manager 8
Same name and namespace in other branches
- 8.4 page_manager_ui/src/Form/PageGeneralForm.php \Drupal\page_manager_ui\Form\PageGeneralForm::__construct()
Constructs a new PageGeneralForm.
Parameters
\Drupal\Core\Display\VariantManager $variant_manager: The variant manager.
\Drupal\Core\Entity\Query\QueryFactory $entity_query: The entity query factory.
File
- page_manager_ui/
src/ Form/ PageGeneralForm.php, line 41 - Contains \Drupal\page_manager_ui\Form\PageGeneralForm.
Class
Namespace
Drupal\page_manager_ui\FormCode
public function __construct(VariantManager $variant_manager, QueryFactory $entity_query) {
$this->variantManager = $variant_manager;
$this->entityQuery = $entity_query;
}