You are here

public static function JsonApiSpec::getReservedQueryParameters in Drupal 9

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

Gets the reserved (official) JSON:API query parameters.

Return value

string[] Gets the query parameters reserved by the specification.

1 call to JsonApiSpec::getReservedQueryParameters()
JsonApiRequestValidator::validateQueryParams in core/modules/jsonapi/src/EventSubscriber/JsonApiRequestValidator.php
Validates custom (implementation-specific) query parameter names.

File

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

Class

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

Namespace

Drupal\jsonapi

Code

public static function getReservedQueryParameters() {
  return static::RESERVED_QUERY_PARAMETERS;
}