You are here

public function Facet::getShowOnlyOneResult in Facets 8

Returns the show_only_one_result option.

Return value

bool Show only one result.

Overrides FacetInterface::getShowOnlyOneResult

File

src/Entity/Facet.php, line 730

Class

Facet
Defines the facet configuration entity.

Namespace

Drupal\facets\Entity

Code

public function getShowOnlyOneResult() {
  return $this->show_only_one_result;
}