function TempStoreTrait::getTempStore
Gets the temporary storage repository from the factory.
Return value
\Drupal\Core\TempStore\SharedTempStore The shared storage.
File
-
src/
Ui/ TempStoreTrait.php, line 209
Class
- TempStoreTrait
- Provides methods for modified rules components in temporary storage.
Namespace
Drupal\rules\UiCode
private function getTempStore() {
if (!isset($this->tempStore)) {
$this->tempStore = $this->getTempStoreFactory()
->get($this->getRulesUiHandler()
->getPluginId());
}
return $this->tempStore;
}