You are here

protected function VariantPluginDeleteBlockForm::getTempstore in Page Manager 8

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

Get the tempstore.

Return value

\Drupal\user\SharedTempStore

File

page_manager_ui/src/Form/VariantPluginDeleteBlockForm.php, line 45
Contains \Drupal\page_manager_ui\Form\VariantPluginDeleteBlockForm.

Class

VariantPluginDeleteBlockForm
Provides a form for deleting an access condition.

Namespace

Drupal\page_manager_ui\Form

Code

protected function getTempstore() {
  return \Drupal::service('user.shared_tempstore')
    ->get($this
    ->getTempstoreId());
}