function EntityCondition::operator

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

The comparison operator to use for the evaluation.

For a list of allowed operators:

Return value

string The condition operator.

See also

\Drupal\jsonapi\Query\EntityCondition::allowedOperators

File

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

Class

EntityCondition
A condition object for the EntityQuery.

Namespace

Drupal\jsonapi\Query

Code

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

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