public static function ViewsForm::create in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Form/ViewsForm.php \Drupal\views\Form\ViewsForm::create()
- 9 core/modules/views/src/Form/ViewsForm.php \Drupal\views\Form\ViewsForm::create()
File
- core/
modules/ views/ src/ Form/ ViewsForm.php, line 98
Class
- ViewsForm
- Provides a base class for single- or multistep view forms.
Namespace
Drupal\views\FormCode
public static function create(ContainerInterface $container, $view_id = NULL, $view_display_id = NULL, array $view_args = NULL) {
return new static($container
->get('class_resolver'), $container
->get('url_generator'), $container
->get('request_stack'), $view_id, $view_display_id, $view_args);
}