function ContentEntityDenormalizer::getSupportedTypes
Same name and namespace in other branches
- 10 core/modules/jsonapi/src/Normalizer/ContentEntityDenormalizer.php \Drupal\jsonapi\Normalizer\ContentEntityDenormalizer::getSupportedTypes()
Overrides NormalizerBase::getSupportedTypes
File
-
core/
modules/ jsonapi/ src/ Normalizer/ ContentEntityDenormalizer.php, line 89
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.