You are here

public function ConditionInterface::setOperator in Search API 8

Sets the operator.

Parameters

string $operator: The new operator.

Return value

$this

1 method overrides ConditionInterface::setOperator()
Condition::setOperator in src/Query/Condition.php
Sets the operator.

File

src/Query/ConditionInterface.php, line 62

Class

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

Namespace

Drupal\search_api\Query

Code

public function setOperator($operator);