You are here

protected function ParameterEditForm::setTempstore in Page Manager 8.4

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

Sets cached values into temp store.

Parameters

array $cached_values: Cached values.

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 110

Class

ParameterEditForm
Provides a form for editing a parameter.

Namespace

Drupal\page_manager_ui\Form

Code

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