function ViewExecutable::setExposedInput

Same name and namespace in other branches
  1. 9 core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::setExposedInput()
  2. 10 core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::setExposedInput()
  3. 11.x core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::setExposedInput()

Sets the exposed filters input to an array.

Parameters

string[] $filters: The values taken from the view's exposed filters and sorts.

1 call to ViewExecutable::setExposedInput()
ViewExecutable::__wakeup in core/modules/views/src/ViewExecutable.php
Magic method implementation to unserialize the view executable.

File

core/modules/views/src/ViewExecutable.php, line 669

Class

ViewExecutable
Represents a view as a whole.

Namespace

Drupal\views

Code

public function setExposedInput($filters) {
    $this->exposed_input = $filters;
}

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