EntityNormalizer::$supportedInterfaceOrClass
Same name in other branches
- 8.9.x core/modules/serialization/src/Normalizer/EntityNormalizer.php \Drupal\serialization\Normalizer\EntityNormalizer::supportedInterfaceOrClass
Type: supportedInterfaceOrClass
Overrides ComplexDataNormalizer::$supportedInterfaceOrClass
File
-
core/
modules/ serialization/ src/ Normalizer/ EntityNormalizer.php, line 22
Class
- EntityNormalizer
- Normalizes/denormalizes Drupal entity objects into an array structure.
Namespace
Drupal\serialization\NormalizerCode
protected $supportedInterfaceOrClass = EntityInterface::class;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.