function Serializer::supportsDenormalization
Same name in other branches
- 9 core/modules/jsonapi/src/Serializer/Serializer.php \Drupal\jsonapi\Serializer\Serializer::supportsDenormalization()
- 10 core/modules/jsonapi/src/Serializer/Serializer.php \Drupal\jsonapi\Serializer\Serializer::supportsDenormalization()
- 11.x core/modules/jsonapi/src/Serializer/Serializer.php \Drupal\jsonapi\Serializer\Serializer::supportsDenormalization()
File
-
core/
modules/ jsonapi/ src/ Serializer/ Serializer.php, line 107
Class
- Serializer
- Overrides the Symfony serializer to cordon off our incompatible normalizers.
Namespace
Drupal\jsonapi\SerializerCode
public function supportsDenormalization($data, $type, $format = NULL, array $context = []) {
return $this->selfSupportsDenormalization($data, $type, $format, $context) || $this->fallbackNormalizer
->supportsDenormalization($data, $type, $format, $context);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.