public function SearchApiViewsHandlerFilterEntity::accept_exposed_input in Search API 7
Check to see if input from the exposed filters should change the behavior.
Overrides views_handler_filter::accept_exposed_input
1 call to SearchApiViewsHandlerFilterEntity::accept_exposed_input()
- SearchApiViewsHandlerFilterTaxonomyTerm::accept_exposed_input in contrib/
search_api_views/ includes/ handler_filter_taxonomy_term.inc - Check to see if input from the exposed filters should change the behavior.
1 method overrides SearchApiViewsHandlerFilterEntity::accept_exposed_input()
- SearchApiViewsHandlerFilterTaxonomyTerm::accept_exposed_input in contrib/
search_api_views/ includes/ handler_filter_taxonomy_term.inc - Check to see if input from the exposed filters should change the behavior.
File
- contrib/
search_api_views/ includes/ handler_filter_entity.inc, line 109 - Contains SearchApiViewsHandlerFilterEntity.
Class
- SearchApiViewsHandlerFilterEntity
- Views filter handler class for entities.
Code
public function accept_exposed_input($input) {
$rc = parent::accept_exposed_input($input);
if ($rc) {
// If we have previously validated input, override.
if ($this->validated_exposed_input) {
$this->value = $this->validated_exposed_input;
}
}
return $rc;
}