ModulesUninstallConfirmForm::__construct

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;
}
doc_Drupal
2016-10-29 09:29:43
Comments
Leave a Comment

Please login to continue.