You are here

public function Facet::getQueryOperator in Facets 8

Returns the query operator.

Return value

string The query operator being used.

Overrides FacetInterface::getQueryOperator

File

src/Entity/Facet.php, line 534

Class

Facet
Defines the facet configuration entity.

Namespace

Drupal\facets\Entity

Code

public function getQueryOperator() {
  return $this->query_operator ?: 'or';
}