public function Query::getResults in Search API 8
Retrieves this query's result set.
If this query hasn't been executed yet, the results will be incomplete.
Return value
\Drupal\search_api\Query\ResultSetInterface The results of the search.
Overrides QueryInterface::getResults
See also
\Drupal\search_api\Query\QueryInterface::hasExecuted()
File
- src/
Query/ Query.php, line 643
Class
- Query
- Provides a standard implementation for a Search API query.
Namespace
Drupal\search_api\QueryCode
public function getResults() {
return $this->results;
}