public function Name::acceptExposedInput

Check to see if input from the exposed filters should change the behavior of this filter.

Overrides InOperator::acceptExposedInput

File

drupal/core/modules/user/lib/Drupal/user/Plugin/views/filter/Name.php, line 65
Definition of Drupal\user\Plugin\views\filter\Name.

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;
}