You are here

public function ChecklistapiChecklist::hasSavedProgress in Checklist API 7

Determines whether the checklist has saved progress.

Return value

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

File

lib/Drupal/checklistapi/ChecklistapiChecklist.php, line 191
Class for Checklist API checklists.

Class

ChecklistapiChecklist
Defines the checklist class.

Code

public function hasSavedProgress() {
  return (bool) variable_get($this
    ->getSavedProgressVariableName(), FALSE);
}