function SerializationTestNormalizer::getSupportedTypes
Same name and namespace in other branches
- 10 core/modules/serialization/tests/serialization_test/src/SerializationTestNormalizer.php \Drupal\serialization_test\SerializationTestNormalizer::getSupportedTypes()
- main core/modules/serialization/tests/serialization_test/src/SerializationTestNormalizer.php \Drupal\serialization_test\SerializationTestNormalizer::getSupportedTypes()
File
-
core/
modules/ serialization/ tests/ serialization_test/ src/ SerializationTestNormalizer.php, line 52
Class
- SerializationTestNormalizer
- Serialization normalizer used for testing.
Namespace
Drupal\serialization_testCode
public function getSupportedTypes(?string $format) : array {
return [
\stdClass::class => TRUE,
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.