You are here

public function FacetInterface::setOnlyVisibleWhenFacetSourceIsVisible in Facets 8

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

Parameters

bool $only_visible_when_facet_source_is_visible: A boolean flag indicating if the facet should be hidden on a page that does not show the facet source.

1 method overrides FacetInterface::setOnlyVisibleWhenFacetSourceIsVisible()
Facet::setOnlyVisibleWhenFacetSourceIsVisible in src/Entity/Facet.php
Sets the "only visible when facet source is visible" boolean flag.

File

src/FacetInterface.php, line 416

Class

FacetInterface
The facet entity.

Namespace

Drupal\facets

Code

public function setOnlyVisibleWhenFacetSourceIsVisible($only_visible_when_facet_source_is_visible);