You are here

public function Facet::getOnlyVisibleWhenFacetSourceIsVisible in Facets 8

Returns the "only visible when facet source is visible" boolean flag.

Return value

bool True when the facet is only shown on a page with the facet source.

Overrides FacetInterface::getOnlyVisibleWhenFacetSourceIsVisible

File

src/Entity/Facet.php, line 902

Class

Facet
Defines the facet configuration entity.

Namespace

Drupal\facets\Entity

Code

public function getOnlyVisibleWhenFacetSourceIsVisible() {
  return $this->only_visible_when_facet_source_is_visible;
}