You are here

protected function UpdateChecklistTest::getUpdateChecklist in Update helper 2.x

Same name and namespace in other branches
  1. 8 modules/update_helper_checklist/tests/src/Kernel/UpdateChecklistTest.php \Drupal\Tests\update_helper_checklist\Kernel\UpdateChecklistTest::getUpdateChecklist()

Get update checklist service.

Return value

\Drupal\update_helper_checklist\UpdateChecklist Returns update checklist service.

1 call to UpdateChecklistTest::getUpdateChecklist()
UpdateChecklistTest::testGetUpdateVersions in modules/update_helper_checklist/tests/src/Kernel/UpdateChecklistTest.php
@covers \Drupal\update_helper_checklist\UpdateChecklist::getUpdateVersions

File

modules/update_helper_checklist/tests/src/Kernel/UpdateChecklistTest.php, line 48

Class

UpdateChecklistTest
@covers \Drupal\update_helper_checklist\UpdateChecklist

Namespace

Drupal\Tests\update_helper_checklist\Kernel

Code

protected function getUpdateChecklist() {
  return \Drupal::service('update_helper_checklist.update_checklist');
}