You are here

public function ViewsExposedForm::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/src/Form/ViewsExposedForm.php \Drupal\views\Form\ViewsExposedForm::__construct()
  2. 10 core/modules/views/src/Form/ViewsExposedForm.php \Drupal\views\Form\ViewsExposedForm::__construct()

Constructs a new ViewsExposedForm.

Parameters

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

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

File

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

Class

ViewsExposedForm
Provides the views exposed form.

Namespace

Drupal\views\Form

Code

public function __construct(ExposedFormCache $exposed_form_cache, CurrentPathStack $current_path_stack) {
  $this->exposedFormCache = $exposed_form_cache;
  $this->currentPathStack = $current_path_stack;
}