You are here

constant SearchApiDbEvents::QUERY_PRE_EXECUTE in Search API 8

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

This allows other modules to alter the DB query before a count query (or facet queries, or other related queries) are constructed from it.

See also

\Drupal\search_api_db\Event\QueryPreExecuteEvent

File

modules/search_api_db/src/Event/SearchApiDbEvents.php, line 20

Class

SearchApiDbEvents
Defines events for the Database Search module.

Namespace

Drupal\search_api_db\Event

Code

const QUERY_PRE_EXECUTE = 'search_api_db.query_pre_execute';