interface FilterInterface

Methods

string
getFilterKey()

<p>This filter will only be run when a query contains a filter param with this key.</p>

void
filter(SearchState $state, string|array $value, bool $negate)

<p>Filters a query.</p>

Details

string getFilterKey()

<p>This filter will only be run when a query contains a filter param with this key.</p>

Return Value

string

void filter(SearchState $state, string|array $value, bool $negate)

<p>Filters a query.</p>

Parameters

SearchState $state
string|array $value
bool $negate

Return Value

void