function TextItemSillyNormalizer::getSupportedTypes
Same name in other branches
- 10 core/modules/serialization/tests/modules/field_normalization_test/src/Normalization/TextItemSillyNormalizer.php \Drupal\field_normalization_test\Normalization\TextItemSillyNormalizer::getSupportedTypes()
Overrides FieldItemNormalizer::getSupportedTypes
File
-
core/
modules/ serialization/ tests/ modules/ field_normalization_test/ src/ Normalization/ TextItemSillyNormalizer.php, line 36
Class
- TextItemSillyNormalizer
- A test TextItem normalizer to test denormalization.
Namespace
Drupal\field_normalization_test\NormalizationCode
public function getSupportedTypes(?string $format) : array {
return [
TextItemBase::class => TRUE,
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.