function ViewsExposedForm::__construct

Same name in this branch
  1. main core/modules/views/src/Attribute/ViewsExposedForm.php \Drupal\views\Attribute\ViewsExposedForm::__construct()
Same name and namespace in other branches
  1. 11.x core/modules/views/src/Attribute/ViewsExposedForm.php \Drupal\views\Attribute\ViewsExposedForm::__construct()
  2. 11.x core/modules/views/src/Form/ViewsExposedForm.php \Drupal\views\Form\ViewsExposedForm::__construct()
  3. 10 core/modules/views/src/Attribute/ViewsExposedForm.php \Drupal\views\Attribute\ViewsExposedForm::__construct()
  4. 10 core/modules/views/src/Form/ViewsExposedForm.php \Drupal\views\Form\ViewsExposedForm::__construct()
  5. 9 core/modules/views/src/Form/ViewsExposedForm.php \Drupal\views\Form\ViewsExposedForm::__construct()
  6. 8.9.x core/modules/views/src/Form/ViewsExposedForm.php \Drupal\views\Form\ViewsExposedForm::__construct()

Constructs a new ViewsExposedForm.

Parameters

\Drupal\views\ExposedFormCache $exposedFormCache: The exposed form cache.

\Drupal\Core\Path\CurrentPathStack $currentPathStack: The current path stack.

File

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

Class

ViewsExposedForm
Provides the views exposed form.

Namespace

Drupal\views\Form

Code

public function __construct(protected ExposedFormCache $exposedFormCache, protected CurrentPathStack $currentPathStack) {
}

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