function ViewExecutable::setExposedInput
Same name in other branches
- 9 core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::setExposedInput()
- 10 core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::setExposedInput()
- 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\viewsCode
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.