You are here

public function Name::acceptExposedInput in Views (for Drupal 7) 8.3

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

Overrides InOperator::acceptExposedInput

File

lib/Views/user/Plugin/views/filter/Name.php, line 65
Definition of Views\user\Plugin\views\filter\Name.

Class

Name
Filter handler for usernames.

Namespace

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