You are here

constant JsonApiSpec::RESERVED_QUERY_PARAMETERS in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/jsonapi/src/JsonApiSpec.php \Drupal\jsonapi\JsonApiSpec::RESERVED_QUERY_PARAMETERS

The reserved (official) query parameters.

File

core/modules/jsonapi/src/JsonApiSpec.php, line 93

Class

JsonApiSpec
Defines constants used for compliance with the JSON:API specification.

Namespace

Drupal\jsonapi

Code

const RESERVED_QUERY_PARAMETERS = [
  'filter',
  'sort',
  'page',
  'fields',
  'include',
];