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