FieldNormalizer::$supportedInterfaceOrClass
Same name in this branch
- 9 core/modules/serialization/src/Normalizer/FieldNormalizer.php \Drupal\serialization\Normalizer\FieldNormalizer::supportedInterfaceOrClass
Same name in other branches
- 8.9.x core/modules/jsonapi/src/Normalizer/FieldNormalizer.php \Drupal\jsonapi\Normalizer\FieldNormalizer::supportedInterfaceOrClass
- 8.9.x core/modules/serialization/src/Normalizer/FieldNormalizer.php \Drupal\serialization\Normalizer\FieldNormalizer::supportedInterfaceOrClass
The interface or class that this Normalizer supports.
Type: string
Overrides NormalizerBase::$supportedInterfaceOrClass
File
-
core/
modules/ jsonapi/ src/ Normalizer/ FieldNormalizer.php, line 28
Class
- FieldNormalizer
- Converts the Drupal field structure to a JSON:API array structure.
Namespace
Drupal\jsonapi\NormalizerCode
protected $supportedInterfaceOrClass = FieldItemListInterface::class;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.