You are here

public static property EntityCondition::$allowedOperators in Drupal 8

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