protected function UpdateChecklist::getChecklist in Update helper 2.x
Same name and namespace in other branches
- 8 modules/update_helper_checklist/src/UpdateChecklist.php \Drupal\update_helper_checklist\UpdateChecklist::getChecklist()
Get checklist.
Return value
\Drupal\checklistapi\ChecklistapiChecklist|false Returns checklist.
File
- modules/
update_helper_checklist/ src/ UpdateChecklist.php, line 77
Class
- UpdateChecklist
- Update checklist service.
Namespace
Drupal\update_helper_checklistCode
protected function getChecklist() {
if (!$this->checklist) {
$this->checklist = checklistapi_checklist_load('update_helper_checklist');
}
return $this->checklist;
}