function TempStoreTrait::fetchFromTempStore

Fetches the stored data from the temporary storage.

Return value

mixed|null The stored data or NULL if the temp store is empty.

1 call to TempStoreTrait::fetchFromTempStore()
RulesUiConfigHandler::getConfig in src/Ui/RulesUiConfigHandler.php
Gets the edited config object.

File

src/Ui/TempStoreTrait.php, line 158

Class

TempStoreTrait
Provides methods for modified rules components in temporary storage.

Namespace

Drupal\rules\Ui

Code

protected function fetchFromTempStore() {
    return $this->getTempStore()
        ->get($this->getTempStoreItemId());
}