You are here

public function Facet::getEnableParentWhenChildGetsDisabled in Facets 8

Returns the value of the enable_parent_when_child_gets_disabled boolean.

This will return true when the parent item in the facet should be enabled in an hierarchical structure, when a child facet item gets disabled.

Return value

bool Wether or not parents should be enabled when a child gets disabled.

Overrides FacetInterface::getEnableParentWhenChildGetsDisabled

File

src/Entity/Facet.php, line 590

Class

Facet
Defines the facet configuration entity.

Namespace

Drupal\facets\Entity

Code

public function getEnableParentWhenChildGetsDisabled() {
  return $this->enable_parent_when_child_gets_disabled;
}