public function FacetInterface::setResults in Facets 8
Sets the results for the facet.
Parameters
\Drupal\facets\Result\ResultInterface[] $results: The results of the facet.
1 method overrides FacetInterface::setResults()
- Facet::setResults in src/
Entity/ Facet.php - Sets the results for the facet.
File
- src/
FacetInterface.php, line 183
Class
- FacetInterface
- The facet entity.
Namespace
Drupal\facetsCode
public function setResults(array $results);