You are here

public function EntityCondition::operator in JSON:API 8

Same name and namespace in other branches
  1. 8.2 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

src/Query/EntityCondition.php, line 76

Class

EntityCondition
A condition object for the EntityQuery.

Namespace

Drupal\jsonapi\Query

Code

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