public static function JsonApiSpec::getReservedQueryParameters in JSON:API 8
Same name and namespace in other branches
- 8.2 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.
2 calls to JsonApiSpec::getReservedQueryParameters()
- CustomQueryParameterNamesAccessCheck::validate in src/
Access/ CustomQueryParameterNamesAccessCheck.php - Validates custom JSON API query parameters.
- JsonApiDocumentTopLevelNormalizerValue::__construct in src/
Normalizer/ Value/ JsonApiDocumentTopLevelNormalizerValue.php - Instantiates a JsonApiDocumentTopLevelNormalizerValue object.
File
- src/
JsonApiSpec.php, line 104
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);
}