function ContentEntityDenormalizer::getSupportedTypes
Same name in other branches
- 11.x core/modules/jsonapi/src/Normalizer/ContentEntityDenormalizer.php \Drupal\jsonapi\Normalizer\ContentEntityDenormalizer::getSupportedTypes()
Overrides NormalizerBase::getSupportedTypes
File
-
core/
modules/ jsonapi/ src/ Normalizer/ ContentEntityDenormalizer.php, line 98
Class
- ContentEntityDenormalizer
- Converts a JSON:API array structure into a Drupal entity object.
Namespace
Drupal\jsonapi\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.