You are here

public function PurgeConfigurationsConfirmForm::__construct in Easy Install 8.8

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

File

src/Form/PurgeConfigurationsConfirmForm.php, line 69

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, EntityManagerInterface $entity_manager) {
  $this->moduleInstaller = $module_installer;
  $this->keyValueExpirable = $key_value_expirable;
  $this->configManager = $config_manager;
  $this->entityManager = $entity_manager;
}