function Name::acceptExposedInput

Same name in other branches
  1. 9 core/modules/user/src/Plugin/views/filter/Name.php \Drupal\user\Plugin\views\filter\Name::acceptExposedInput()
  2. 8.9.x core/modules/user/src/Plugin/views/filter/Name.php \Drupal\user\Plugin\views\filter\Name::acceptExposedInput()
  3. 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\filter

Code

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.