function ViewAddForm::create

Same name in other branches
  1. 9 core/modules/views_ui/src/ViewAddForm.php \Drupal\views_ui\ViewAddForm::create()
  2. 8.9.x core/modules/views_ui/src/ViewAddForm.php \Drupal\views_ui\ViewAddForm::create()
  3. 11.x core/modules/views_ui/src/ViewAddForm.php \Drupal\views_ui\ViewAddForm::create()

Overrides FormBase::create

File

core/modules/views_ui/src/ViewAddForm.php, line 49

Class

ViewAddForm
Form controller for the Views add form.

Namespace

Drupal\views_ui

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('plugin.manager.views.wizard'), $container->get('module_handler'));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.