function ModulesListConfirmForm::__construct
Same name and namespace in other branches
- 9 core/modules/system/src/Form/ModulesListConfirmForm.php \Drupal\system\Form\ModulesListConfirmForm::__construct()
- 8.9.x core/modules/system/src/Form/ModulesListConfirmForm.php \Drupal\system\Form\ModulesListConfirmForm::__construct()
- 10 core/modules/system/src/Form/ModulesListConfirmForm.php \Drupal\system\Form\ModulesListConfirmForm::__construct()
Constructs a ModulesListConfirmForm object.
Parameters
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
\Drupal\Core\Extension\ModuleInstallerInterface $module_installer: The module installer.
\Drupal\Core\KeyValueStore\KeyValueStoreExpirableInterface $key_value_expirable: The key value expirable factory.
1 call to ModulesListConfirmForm::__construct()
- ModulesListNonStableConfirmForm::__construct in core/
modules/ system/ src/ Form/ ModulesListNonStableConfirmForm.php - Constructs a new ModulesListNonStableConfirmForm.
1 method overrides ModulesListConfirmForm::__construct()
- ModulesListNonStableConfirmForm::__construct in core/
modules/ system/ src/ Form/ ModulesListNonStableConfirmForm.php - Constructs a new ModulesListNonStableConfirmForm.
File
-
core/
modules/ system/ src/ Form/ ModulesListConfirmForm.php, line 62
Class
- ModulesListConfirmForm
- Builds a confirmation form for enabling modules with dependencies.
Namespace
Drupal\system\FormCode
public function __construct(ModuleHandlerInterface $module_handler, ModuleInstallerInterface $module_installer, KeyValueStoreExpirableInterface $key_value_expirable) {
$this->moduleHandler = $module_handler;
$this->moduleInstaller = $module_installer;
$this->keyValueExpirable = $key_value_expirable;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.