protected property FieldNormalizer::$formats in JSON:API 8
The formats that the Normalizer can handle.
Type: array
Overrides NormalizerBase::$formats
File
- src/
Normalizer/ FieldNormalizer.php, line 32
Class
- FieldNormalizer
- Converts the Drupal field structure to a JSON API array structure.
Namespace
Drupal\jsonapi\NormalizerCode
protected $formats = [
'api_json',
];