You are here

public function StateStorage::getSavedProgress in Checklist API 8

Gets the saved checklist progress.

Return value

mixed The stored value, or NULL if no value exists.

Overrides StorageInterface::getSavedProgress

File

src/Storage/StateStorage.php, line 32

Class

StateStorage
Provides state-based checklist progress storage.

Namespace

Drupal\checklistapi\Storage

Code

public function getSavedProgress() {
  return $this->state
    ->get($this
    ->stateKey());
}