public function Name::acceptExposedInput in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/user/src/Plugin/views/filter/Name.php \Drupal\user\Plugin\views\filter\Name::acceptExposedInput()
Check to see if input from the exposed filters should change the behavior of this filter.
Overrides InOperator::acceptExposedInput
File
- core/
modules/ user/ src/ Plugin/ views/ filter/ Name.php, line 57 - Contains \Drupal\user\Plugin\views\filter\Name.
Class
- Name
- Filter handler for usernames.
Namespace
Drupal\user\Plugin\views\filterCode
public function acceptExposedInput($input) {
$rc = parent::acceptExposedInput($input);
if ($rc) {
// If we have previously validated input, override.
if (isset($this->validated_exposed_input)) {
$this->value = $this->validated_exposed_input;
}
}
return $rc;
}