You are here

protected function UpdateChecklist::getChecklist in Update helper 8

Same name and namespace in other branches
  1. 2.x 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_checklist

Code

protected function getChecklist() {
  if (!$this->checklist) {
    $this->checklist = checklistapi_checklist_load('update_helper_checklist');
  }
  return $this->checklist;
}