public function DevelReinstall::__construct in Devel 8
Same name and namespace in other branches
- 8.3 src/Form/DevelReinstall.php \Drupal\devel\Form\DevelReinstall::__construct()
- 8.2 src/Form/DevelReinstall.php \Drupal\devel\Form\DevelReinstall::__construct()
- 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\FormCode
public function __construct(ModuleInstallerInterface $module_installer) {
$this->moduleInstaller = $module_installer;
}