protected property RelationshipNormalizer::$formats in JSON:API 8
The formats that the Normalizer can handle.
Type: array
Overrides NormalizerBase::$formats
File
- src/
Normalizer/ RelationshipNormalizer.php, line 34
Class
- RelationshipNormalizer
- Normalizes a Relationship according to the JSON API specification.
Namespace
Drupal\jsonapi\NormalizerCode
protected $formats = [
'api_json',
];