function ViewDuplicateForm::create

Same name in other branches
  1. 10 core/modules/views_ui/src/ViewDuplicateForm.php \Drupal\views_ui\ViewDuplicateForm::create()

Overrides FormBase::create

File

core/modules/views_ui/src/ViewDuplicateForm.php, line 27

Class

ViewDuplicateForm
Form controller for the Views duplicate form.

Namespace

Drupal\views_ui

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('module_handler'), $container->get('language_manager'));
}

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