You are here

public function PageVariantDeleteForm::__construct in Page Manager 8

Same name and namespace in other branches
  1. 8.4 page_manager_ui/src/Form/PageVariantDeleteForm.php \Drupal\page_manager_ui\Form\PageVariantDeleteForm::__construct()

Constructs a PageVariantDeleteForm.

Parameters

\Drupal\user\SharedTempStoreFactory $tempstore: The tempstore factory.

File

page_manager_ui/src/Form/PageVariantDeleteForm.php, line 34
Contains Drupal\page_manager_ui\Form\PageVariantDeleteForm.

Class

PageVariantDeleteForm
Builds the form to delete a PageVariant.

Namespace

Drupal\page_manager_ui\Form

Code

public function __construct(SharedTempStoreFactory $tempstore) {
  $this->tempstore = $tempstore;
}