function Name::acceptExposedInput
Same name in other branches
- 9 core/modules/user/src/Plugin/views/filter/Name.php \Drupal\user\Plugin\views\filter\Name::acceptExposedInput()
- 8.9.x core/modules/user/src/Plugin/views/filter/Name.php \Drupal\user\Plugin\views\filter\Name::acceptExposedInput()
- 10 core/modules/user/src/Plugin/views/filter/Name.php \Drupal\user\Plugin\views\filter\Name::acceptExposedInput()
Overrides InOperator::acceptExposedInput
File
-
core/
modules/ user/ src/ Plugin/ views/ filter/ Name.php, line 58
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.