You are here

public function Condition::getOperator in Search API 8

Retrieves the operator.

Return value

string The operator that combined field and value in this condition.

Overrides ConditionInterface::getOperator

File

src/Query/Condition.php, line 80

Class

Condition
Represents a single (field operator value) condition in a search query.

Namespace

Drupal\search_api\Query

Code

public function getOperator() {
  return $this->operator;
}