public function FacetInterface::setShowOnlyOneResult in Facets 8
Sets the show_only_one_result option.
Parameters
bool $show_only_one_result: Show only one result.
1 method overrides FacetInterface::setShowOnlyOneResult()
- Facet::setShowOnlyOneResult in src/
Entity/ Facet.php - Sets the show_only_one_result option.
File
- src/
FacetInterface.php, line 167
Class
- FacetInterface
- The facet entity.
Namespace
Drupal\facetsCode
public function setShowOnlyOneResult($show_only_one_result);