You are here

public function ChecklistapiChecklist::getLastUpdatedDate in Checklist API 7

Gets the last updated date.

Return value

string The last updated date formatted with format_date(), or 'n/a' if there is no saved progress.

File

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

Class

ChecklistapiChecklist
Defines the checklist class.

Code

public function getLastUpdatedDate() {
  return !empty($this->savedProgress['#changed']) ? format_date($this->savedProgress['#changed']) : t('n/a');
}