protected property EntityNormalizer::$supportedInterfaceOrClass in Drupal 9
Same name and namespace in other branches
- 8 core/modules/serialization/src/Normalizer/EntityNormalizer.php \Drupal\serialization\Normalizer\EntityNormalizer::supportedInterfaceOrClass
The interface or class that this Normalizer supports.
Type: string|array
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;