You are here

public function Facet::setExclude in Facets 8

Sets the exclude.

Parameters

bool $exclude: A boolean flag indicating if search should exclude selected facets.

Overrides FacetInterface::setExclude

File

src/Entity/Facet.php, line 618

Class

Facet
Defines the facet configuration entity.

Namespace

Drupal\facets\Entity

Code

public function setExclude($exclude) {
  return $this->exclude = $exclude;
}