You are here

public function Condition::setValue in Search API 8

Sets the value.

Parameters

mixed $value: The new value.

Return value

$this

Overrides ConditionInterface::setValue

File

src/Query/Condition.php, line 72

Class

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

Namespace

Drupal\search_api\Query

Code

public function setValue($value) {
  $this->value = $value;
  return $this;
}