You are here

public static property EntityCondition::$allowedOperators in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/jsonapi/src/Query/EntityCondition.php \Drupal\jsonapi\Query\EntityCondition::allowedOperators

The allowed condition operators.

Type: string[]

File

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

Class

EntityCondition
A condition object for the EntityQuery.

Namespace

Drupal\jsonapi\Query

Code

public static $allowedOperators = [
  '=',
  '<>',
  '>',
  '>=',
  '<',
  '<=',
  'STARTS_WITH',
  'CONTAINS',
  'ENDS_WITH',
  'IN',
  'NOT IN',
  'BETWEEN',
  'NOT BETWEEN',
  'IS NULL',
  'IS NOT NULL',
];