public function Facet::setShowOnlyOneResult in Facets 8
Sets the show_only_one_result option.
Parameters
bool $show_only_one_result: Show only one result.
Overrides FacetInterface::setShowOnlyOneResult
File
- src/
Entity/ Facet.php, line 737
Class
- Facet
- Defines the facet configuration entity.
Namespace
Drupal\facets\EntityCode
public function setShowOnlyOneResult($show_only_one_result) {
$this->show_only_one_result = $show_only_one_result;
}