You are here

public function ChecklistapiChecklist::hasSavedProgress in Checklist API 8

Determines whether the checklist has saved progress.

Return value

bool TRUE if the checklist has saved progress, or FALSE if it doesn't.

File

src/ChecklistapiChecklist.php, line 233

Class

ChecklistapiChecklist
Defines the checklist class.

Namespace

Drupal\checklistapi

Code

public function hasSavedProgress() {
  return (bool) $this->storage
    ->getSavedProgress();
}