function RouterRebuildConfirmForm::create

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

Overrides FormBase::create

File

src/Form/RouterRebuildConfirmForm.php, line 36

Class

RouterRebuildConfirmForm
Provides confirmation form for rebuilding the routes.

Namespace

Drupal\devel\Form

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('router.builder'));
}