You are here

public function PageReorderVariantsForm::__construct in Page Manager 8.4

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

Constructs a new DisplayVariantAddForm.

Parameters

\Drupal\Core\TempStore\SharedTempStoreFactory $tempstore: The tempstore factory.

File

page_manager_ui/src/Form/PageReorderVariantsForm.php, line 28

Class

PageReorderVariantsForm
Provides a form for adding a variant.

Namespace

Drupal\page_manager_ui\Form

Code

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