You are here

public function Facet::getExclude in Facets 8

Returns the value of the exclude boolean.

This will return true when the current facet's value should be exclusive from the search rather than inclusive. When this returns TRUE, the operator will be "<>" instead of "=".

Return value

bool A boolean flag indicating if search should exlude selected facets

Overrides FacetInterface::getExclude

File

src/Entity/Facet.php, line 625

Class

Facet
Defines the facet configuration entity.

Namespace

Drupal\facets\Entity

Code

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