You are here

public function Condition::getField in Search API 8

Retrieves the field.

Return value

string The field this condition checks.

Overrides ConditionInterface::getField

File

src/Query/Condition.php, line 50

Class

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

Namespace

Drupal\search_api\Query

Code

public function getField() {
  return $this->field;
}