You are here

protected function ParameterEditForm::setTempstore in Page Manager 8

Same name and namespace in other branches
  1. 8.4 page_manager_ui/src/Form/ParameterEditForm.php \Drupal\page_manager_ui\Form\ParameterEditForm::setTempstore()
1 call to ParameterEditForm::setTempstore()
ParameterEditForm::submitForm in page_manager_ui/src/Form/ParameterEditForm.php
Form submission handler.

File

page_manager_ui/src/Form/ParameterEditForm.php, line 100
Contains \Drupal\page_manager_ui\Form\ParameterEditForm.

Class

ParameterEditForm
Provides a form for editing a parameter.

Namespace

Drupal\page_manager_ui\Form

Code

protected function setTempstore($cached_values) {
  $this->tempstore
    ->get($this->tempstore_id)
    ->set($this->machine_name, $cached_values);
}