class SearchApiDbEvents in Search API 8
Defines events for the Database Search module.
Hierarchy
- class \Drupal\search_api_db\Event\SearchApiDbEvents
Expanded class hierarchy of SearchApiDbEvents
2 files declare their use of SearchApiDbEvents
- Database.php in modules/
search_api_db/ src/ Plugin/ search_api/ backend/ Database.php - EventListener.php in tests/
search_api_test_db/ src/ EventListener.php
File
- modules/
search_api_db/ src/ Event/ SearchApiDbEvents.php, line 8
Namespace
Drupal\search_api_db\EventView source
class SearchApiDbEvents {
/**
* 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.
*
* @Event
*
* @see \Drupal\search_api_db\Event\QueryPreExecuteEvent
*/
const QUERY_PRE_EXECUTE = 'search_api_db.query_pre_execute';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SearchApiDbEvents:: |
constant | The name of the event fired before executing a search query. |