public function UpdateChecklist::__construct 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::__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_checklistCode
public function __construct(StateStorage $stateStorage, ModuleHandlerInterface $moduleHandler, AccountInterface $account) {
$this->checkListStateStorage = $stateStorage;
$this->moduleHandler = $moduleHandler;
$this->account = $account;
}