You are here

public function DevelReinstall::__construct in Devel 8

Same name and namespace in other branches
  1. 8.3 src/Form/DevelReinstall.php \Drupal\devel\Form\DevelReinstall::__construct()
  2. 8.2 src/Form/DevelReinstall.php \Drupal\devel\Form\DevelReinstall::__construct()
  3. 4.x src/Form/DevelReinstall.php \Drupal\devel\Form\DevelReinstall::__construct()

Constructs a new DevelReinstall form.

Parameters

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

File

src/Form/DevelReinstall.php, line 28

Class

DevelReinstall
Display a dropdown of installed modules with the option to reinstall them.

Namespace

Drupal\devel\Form

Code

public function __construct(ModuleInstallerInterface $module_installer) {
  $this->moduleInstaller = $module_installer;
}