You are here

protected function VariantPluginDeleteBlockForm::getTempstore in Page Manager 8.4

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

Get the tempstore.

Return value

\Drupal\Core\TempStore\SharedTempStore The shared temp store.

File

page_manager_ui/src/Form/VariantPluginDeleteBlockForm.php, line 43

Class

VariantPluginDeleteBlockForm
Provides a form for deleting an access condition.

Namespace

Drupal\page_manager_ui\Form

Code

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