function ContentEntityNormalizer::getSupportedTypes
Same name in other branches
- 11.x core/modules/serialization/src/Normalizer/ContentEntityNormalizer.php \Drupal\serialization\Normalizer\ContentEntityNormalizer::getSupportedTypes()
Overrides EntityNormalizer::getSupportedTypes
File
-
core/
modules/ serialization/ src/ Normalizer/ ContentEntityNormalizer.php, line 35
Class
- ContentEntityNormalizer
- Normalizes/denormalizes Drupal content entities into an array structure.
Namespace
Drupal\serialization\NormalizerCode
public function getSupportedTypes(?string $format) : array {
return [
ContentEntityInterface::class => TRUE,
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.