You are here

public function EntityCondition::operator in Drupal 8

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