function ViewsExposedForm::create

Same name in other branches
  1. 9 core/modules/views/src/Form/ViewsExposedForm.php \Drupal\views\Form\ViewsExposedForm::create()
  2. 8.9.x core/modules/views/src/Form/ViewsExposedForm.php \Drupal\views\Form\ViewsExposedForm::create()
  3. 10 core/modules/views/src/Form/ViewsExposedForm.php \Drupal\views\Form\ViewsExposedForm::create()

Overrides FormBase::create

File

core/modules/views/src/Form/ViewsExposedForm.php, line 53

Class

ViewsExposedForm
Provides the views exposed form.

Namespace

Drupal\views\Form

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('views.exposed_form_cache'), $container->get('path.current'));
}

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