public function ModulesUninstallConfirmForm::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/src/Form/ModulesUninstallConfirmForm.php \Drupal\system\Form\ModulesUninstallConfirmForm::__construct()
Constructs a ModulesUninstallConfirmForm object.
Parameters
\Drupal\Core\Extension\ModuleInstallerInterface $module_installer: The module installer.
\Drupal\Core\KeyValueStore\KeyValueStoreExpirableInterface $key_value_expirable: The key value expirable factory.
\Drupal\Core\Config\ConfigManagerInterface $config_manager: The configuration manager.
\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.
File
- core/
modules/ system/ src/ Form/ ModulesUninstallConfirmForm.php, line 73 - Contains \Drupal\system\Form\ModulesUninstallConfirmForm.
Class
- ModulesUninstallConfirmForm
- Builds a confirmation form to uninstall selected modules.
Namespace
Drupal\system\FormCode
public function __construct(ModuleInstallerInterface $module_installer, KeyValueStoreExpirableInterface $key_value_expirable, ConfigManagerInterface $config_manager, EntityManagerInterface $entity_manager) {
$this->moduleInstaller = $module_installer;
$this->keyValueExpirable = $key_value_expirable;
$this->configManager = $config_manager;
$this->entityManager = $entity_manager;
}