You are here

public function ConditionInterface::setField in Search API 8

Sets the field.

Parameters

string $field: The new field.

Return value

$this

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

File

src/Query/ConditionInterface.php, line 26

Class

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

Namespace

Drupal\search_api\Query

Code

public function setField($field);