You are here

protected function VariantPluginContentForm::getTempstore in Page Manager 8

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

Get the tempstore.

Return value

\Drupal\user\SharedTempStore

File

page_manager_ui/src/Form/VariantPluginContentForm.php, line 64
Contains Drupal\page_manager_ui\Form\VariantPluginContentForm.

Class

VariantPluginContentForm
Provides a form for editing a variant.

Namespace

Drupal\page_manager_ui\Form

Code

protected function getTempstore() {
  return $this->tempstore
    ->get($this
    ->getTempstoreId());
}