// If we're checking for EMPTY or NOT, we don't need any input, and we can
// say that our input conditions are met by just having the right operator.
if ($this->operator == 'empty' ||
$this->operator == 'not empty'
) { return TRUE;
} // If it's non-required and there's no value don't bother filtering.
if (!
$this->options
['expose'
]['required'
] &&
empty($this->validated_exposed_input
)) { return FALSE;
} $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;
} public function validateExposed(&
$form, FormStateInterface
$form_state) {