You are here

public function FacetInterface::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

1 method overrides FacetInterface::getExclude()
Facet::getExclude in src/Entity/Facet.php
Returns the value of the exclude boolean.

File

src/FacetInterface.php, line 224

Class

FacetInterface
The facet entity.

Namespace

Drupal\facets

Code

public function getExclude();