You are here

public function Facet::setEmptyBehavior in Facets 8

Defines the no-results behavior.

Parameters

array $behavior: The definition of the behavior.

Overrides FacetInterface::setEmptyBehavior

File

src/Entity/Facet.php, line 937

Class

Facet
Defines the facet configuration entity.

Namespace

Drupal\facets\Entity

Code

public function setEmptyBehavior(array $empty_behavior) {
  $this->empty_behavior = $empty_behavior;
}