You are here

public function PurgeConfigurationsConfirmForm::__construct in Easy Install 8.10

Same name and namespace in other branches
  1. 8.9 src/Form/PurgeConfigurationsConfirmForm.php \Drupal\easy_install\Form\PurgeConfigurationsConfirmForm::__construct()
  2. 8.5 src/Form/PurgeConfigurationsConfirmForm.php \Drupal\easy_install\Form\PurgeConfigurationsConfirmForm::__construct()
  3. 8.6 src/Form/PurgeConfigurationsConfirmForm.php \Drupal\easy_install\Form\PurgeConfigurationsConfirmForm::__construct()
  4. 8.7 src/Form/PurgeConfigurationsConfirmForm.php \Drupal\easy_install\Form\PurgeConfigurationsConfirmForm::__construct()
  5. 8.8 src/Form/PurgeConfigurationsConfirmForm.php \Drupal\easy_install\Form\PurgeConfigurationsConfirmForm::__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\EntityTypeManagerInterface $entity_manager: The entity manager.

File

src/Form/PurgeConfigurationsConfirmForm.php, line 70

Class

PurgeConfigurationsConfirmForm
Builds a confirmation form to uninstall selected modules.

Namespace

Drupal\easy_install\Form

Code

public function __construct(ModuleInstallerInterface $module_installer, KeyValueStoreExpirableInterface $key_value_expirable, ConfigManagerInterface $config_manager, EntityTypeManagerInterface $entity_manager, FileSystemInterface $file_system) {
  $this->moduleInstaller = $module_installer;
  $this->keyValueExpirable = $key_value_expirable;
  $this->configManager = $config_manager;
  $this->entityTypeManager = $entity_manager;
  $this->fileSystem = $file_system;
}