function NormalizerBase::getSupportedTypes
Same name in other branches
- 11.x core/modules/serialization/src/Normalizer/NormalizerBase.php \Drupal\serialization\Normalizer\NormalizerBase::getSupportedTypes()
2 calls to NormalizerBase::getSupportedTypes()
- NormalizerBase::supportsDenormalization in core/
modules/ serialization/ src/ Normalizer/ NormalizerBase.php - Implements \Symfony\Component\Serializer\Normalizer\DenormalizerInterface::supportsDenormalization()
- NormalizerBase::supportsNormalization in core/
modules/ serialization/ src/ Normalizer/ NormalizerBase.php
22 methods override NormalizerBase::getSupportedTypes()
- BooleanNormalizer::getSupportedTypes in core/
modules/ serialization/ tests/ modules/ test_datatype_boolean_emoji_normalizer/ src/ Normalizer/ BooleanNormalizer.php - ComplexDataNormalizer::getSupportedTypes in core/
modules/ serialization/ src/ Normalizer/ ComplexDataNormalizer.php - ConfigEntityDenormalizer::getSupportedTypes in core/
modules/ jsonapi/ src/ Normalizer/ ConfigEntityDenormalizer.php - ContentEntityDenormalizer::getSupportedTypes in core/
modules/ jsonapi/ src/ Normalizer/ ContentEntityDenormalizer.php - DataNormalizer::getSupportedTypes in core/
modules/ jsonapi/ src/ Normalizer/ DataNormalizer.php
File
-
core/
modules/ serialization/ src/ Normalizer/ NormalizerBase.php, line 118
Class
- NormalizerBase
- Base class for Normalizers.
Namespace
Drupal\serialization\NormalizerCode
public function getSupportedTypes(?string $format) : array {
return [
'*' => FALSE,
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.