public static function JsonApiSpec::getReservedQueryParameters in Drupal 8
Same name and namespace in other branches
- 9 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 115
Class
- JsonApiSpec
- Defines constants used for compliance with the JSON:API specification.
Namespace
Drupal\jsonapiCode
public static function getReservedQueryParameters() {
return explode('|', static::RESERVED_QUERY_PARAMETERS);
}