function TempStoreTrait::storeToTempStore

Stores some data in the temporary storage.

Parameters

mixed $data: The data to store.

1 call to TempStoreTrait::storeToTempStore()
RulesUiConfigHandler::updateComponent in src/Ui/RulesUiConfigHandler.php
Updates the edited component.

File

src/Ui/TempStoreTrait.php, line 168

Class

TempStoreTrait
Provides methods for modified rules components in temporary storage.

Namespace

Drupal\rules\Ui

Code

protected function storeToTempStore($data) {
    $this->getTempStore()
        ->set($this->getTempStoreItemId(), $data);
}