ModulesUninstallForm::__construct

public ModulesUninstallForm::__construct(ModuleHandlerInterface $module_handler, ModuleInstallerInterface $module_installer, KeyValueStoreExpirableInterface $key_value_expirable)

Constructs a ModulesUninstallForm object.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

\Drupal\Core\Extension\ModuleInstallerInterface $module_installer: The module installer.

\Drupal\Core\KeyValueStore\KeyValueStoreExpirableInterface $key_value_expirable: The key value expirable factory.

File

core/modules/system/src/Form/ModulesUninstallForm.php, line 59

Class

ModulesUninstallForm
Provides a form for uninstalling modules.

Namespace

Drupal\system\Form

Code

public function __construct(ModuleHandlerInterface $module_handler, ModuleInstallerInterface $module_installer, KeyValueStoreExpirableInterface $key_value_expirable) {
  $this->moduleHandler = $module_handler;
  $this->moduleInstaller = $module_installer;
  $this->keyValueExpirable = $key_value_expirable;
}
doc_Drupal
2016-10-29 09:29:46
Comments
Leave a Comment

Please login to continue.