function DevelReinstall::create

Same name and namespace in other branches
  1. 5.x src/Form/DevelReinstall.php \Drupal\devel\Form\DevelReinstall::create()

Overrides FormBase::create

File

src/Form/DevelReinstall.php, line 46

Class

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

Namespace

Drupal\devel\Form

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('module_installer'), $container->get('extension.list.module'));
}