function ModulesListNonStableConfirmForm::__construct
Same name and namespace in other branches
- 11.x core/modules/system/src/Form/ModulesListNonStableConfirmForm.php \Drupal\system\Form\ModulesListNonStableConfirmForm::__construct()
- 10 core/modules/system/src/Form/ModulesListNonStableConfirmForm.php \Drupal\system\Form\ModulesListNonStableConfirmForm::__construct()
- main core/modules/system/src/Form/ModulesListNonStableConfirmForm.php \Drupal\system\Form\ModulesListNonStableConfirmForm::__construct()
Constructs a new ModulesListNonStableConfirmForm.
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.
\Drupal\Core\Extension\ModuleExtensionList $moduleExtensionList: The module extension list.
Overrides ModulesListConfirmForm::__construct
File
-
core/
modules/ system/ src/ Form/ ModulesListNonStableConfirmForm.php, line 62
Class
- ModulesListNonStableConfirmForm
- Builds a confirmation form for enabling experimental and deprecated modules.
Namespace
Drupal\system\FormCode
public function __construct(ModuleHandlerInterface $module_handler, ModuleInstallerInterface $module_installer, KeyValueStoreExpirableInterface $key_value_expirable, ModuleExtensionList $moduleExtensionList) {
parent::__construct($module_handler, $module_installer, $key_value_expirable);
$this->moduleExtensionList = $moduleExtensionList;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.