function DevelReinstall::create

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

File

src/Form/DevelReinstall.php, line 35

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'));
}