public ModulesUninstallConfirmForm::__construct(ModuleInstallerInterface $module_installer, KeyValueStoreExpirableInterface $key_value_expirable, ConfigManagerInterface $config_manager, EntityManagerInterface $entity_manager)
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 68
Class
- ModulesUninstallConfirmForm
- Builds a confirmation form to uninstall selected modules.
Namespace
Drupal\system\Form
Code
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; }
Please login to continue.