You are here

public function Facet::setEnableParentWhenChildGetsDisabled in Facets 8

Sets the enable_parent_when_child_gets_disabled.

Parameters

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

Overrides FacetInterface::setEnableParentWhenChildGetsDisabled

File

src/Entity/Facet.php, line 583

Class

Facet
Defines the facet configuration entity.

Namespace

Drupal\facets\Entity

Code

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