public function Query::getOriginalQuery in Search API 8
Retrieves the original version of the query, before preprocessing occurred.
Will be a clone of this query if preprocessing has not already run.
Return value
\Drupal\search_api\Query\Query The original, unpreprocessed version of this query.
Overrides QueryInterface::getOriginalQuery
File
- src/
Query/ Query.php, line 751
Class
- Query
- Provides a standard implementation for a Search API query.
Namespace
Drupal\search_api\QueryCode
public function getOriginalQuery() {
return $this->originalQuery ?: clone $this;
}