You are here

public function PageGeneralForm::__construct in Page Manager 8

Same name and namespace in other branches
  1. 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

PageGeneralForm

Namespace

Drupal\page_manager_ui\Form

Code

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