function JsonApiSpec::getReservedQueryParameters
Same name in other branches
- 8.9.x core/modules/jsonapi/src/JsonApiSpec.php \Drupal\jsonapi\JsonApiSpec::getReservedQueryParameters()
- 10 core/modules/jsonapi/src/JsonApiSpec.php \Drupal\jsonapi\JsonApiSpec::getReservedQueryParameters()
- 11.x 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\jsonapiCode
public static function getReservedQueryParameters() {
return static::RESERVED_QUERY_PARAMETERS;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.