public function ResultSetInterface::setResultItems in Search API 8
Sets the query result items.
Parameters
\Drupal\search_api\Item\ItemInterface[] $result_items: The query result items, keyed by item ID.
Return value
$this
1 method overrides ResultSetInterface::setResultItems()
- ResultSet::setResultItems in src/
Query/ ResultSet.php - Sets the query result items.
File
- src/
Query/ ResultSetInterface.php, line 70
Class
- ResultSetInterface
- Represents the result set of a search query.
Namespace
Drupal\search_api\QueryCode
public function setResultItems(array $result_items);