You are here

public function UpdateChecklist::__construct 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::__construct()

Update checklist constructor.

Parameters

\Drupal\checklistapi\Storage\StateStorage $stateStorage: The check list state storage service.

\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: Module handler service.

\Drupal\Core\Session\AccountInterface $account: The current user.

File

modules/update_helper_checklist/src/UpdateChecklist.php, line 65

Class

UpdateChecklist
Update checklist service.

Namespace

Drupal\update_helper_checklist

Code

public function __construct(StateStorage $stateStorage, ModuleHandlerInterface $moduleHandler, AccountInterface $account) {
  $this->checkListStateStorage = $stateStorage;
  $this->moduleHandler = $moduleHandler;
  $this->account = $account;
}