public function QueryPreExecuteEvent::getQuery in Search API 8
Same name in this branch
- 8 src/Event/QueryPreExecuteEvent.php \Drupal\search_api\Event\QueryPreExecuteEvent::getQuery()
- 8 modules/search_api_db/src/Event/QueryPreExecuteEvent.php \Drupal\search_api_db\Event\QueryPreExecuteEvent::getQuery()
Retrieves the search query being executed.
Return value
\Drupal\search_api\Query\QueryInterface The search query being executed.
File
- modules/
search_api_db/ src/ Event/ QueryPreExecuteEvent.php, line 72
Class
- QueryPreExecuteEvent
- Wraps a query pre-execute event.
Namespace
Drupal\search_api_db\EventCode
public function getQuery() {
return $this->query;
}