function UpdateManagerUpdate::__construct
Same name in other branches
- 9 core/modules/update/src/Form/UpdateManagerUpdate.php \Drupal\update\Form\UpdateManagerUpdate::__construct()
- 10 core/modules/update/src/Form/UpdateManagerUpdate.php \Drupal\update\Form\UpdateManagerUpdate::__construct()
- 11.x core/modules/update/src/Form/UpdateManagerUpdate.php \Drupal\update\Form\UpdateManagerUpdate::__construct()
Constructs a new UpdateManagerUpdate object.
Parameters
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
\Drupal\Core\State\StateInterface $state: The state service.
File
-
core/
modules/ update/ src/ Form/ UpdateManagerUpdate.php, line 45
Class
- UpdateManagerUpdate
- Configure update settings for this site.
Namespace
Drupal\update\FormCode
public function __construct(ModuleHandlerInterface $module_handler, StateInterface $state) {
$this->moduleHandler = $module_handler;
$this->state = $state;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.