protected property ContentEntityNormalizer::$supportedInterfaceOrClass in Drupal 9
Same name in this branch
- 9 core/modules/hal/src/Normalizer/ContentEntityNormalizer.php \Drupal\hal\Normalizer\ContentEntityNormalizer::supportedInterfaceOrClass
- 9 core/modules/serialization/src/Normalizer/ContentEntityNormalizer.php \Drupal\serialization\Normalizer\ContentEntityNormalizer::supportedInterfaceOrClass
Same name and namespace in other branches
- 8 core/modules/hal/src/Normalizer/ContentEntityNormalizer.php \Drupal\hal\Normalizer\ContentEntityNormalizer::supportedInterfaceOrClass
The interface or class that this Normalizer supports.
Type: string|array
Overrides NormalizerBase::$supportedInterfaceOrClass
File
- core/
modules/ hal/ src/ Normalizer/ ContentEntityNormalizer.php, line 27
Class
- ContentEntityNormalizer
- Converts the Drupal entity object structure to a HAL array structure.
Namespace
Drupal\hal\NormalizerCode
protected $supportedInterfaceOrClass = ContentEntityInterface::class;