You are here

constant SearchApiEvents::QUERY_PRE_EXECUTE in Search API 8

The name of the event fired before executing a search query.

This can be used to add additional filters, options or other data to the search query.

See also

\Drupal\search_api\Event\QueryPreExecuteEvent

File

src/Event/SearchApiEvents.php, line 197

Class

SearchApiEvents
Defines events for the Search API module.

Namespace

Drupal\search_api\Event

Code

const QUERY_PRE_EXECUTE = 'search_api.query_pre_execute';