function EntityCondition::field

Same name in other branches
  1. 9 core/modules/jsonapi/src/Query/EntityCondition.php \Drupal\jsonapi\Query\EntityCondition::field()
  2. 8.9.x core/modules/jsonapi/src/Query/EntityCondition.php \Drupal\jsonapi\Query\EntityCondition::field()
  3. 10 core/modules/jsonapi/src/Query/EntityCondition.php \Drupal\jsonapi\Query\EntityCondition::field()

The field to be evaluated.

Return value

string The field upon which to evaluate the condition.

File

core/modules/jsonapi/src/Query/EntityCondition.php, line 90

Class

EntityCondition
A condition object for the EntityQuery.

Namespace

Drupal\jsonapi\Query

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.