function SerializationTestNormalizer::supportsNormalization
Same name in other branches
- 9 core/modules/serialization/tests/serialization_test/src/SerializationTestNormalizer.php \Drupal\serialization_test\SerializationTestNormalizer::supportsNormalization()
- 8.9.x core/modules/serialization/tests/serialization_test/src/SerializationTestNormalizer.php \Drupal\serialization_test\SerializationTestNormalizer::supportsNormalization()
- 10 core/modules/serialization/tests/serialization_test/src/SerializationTestNormalizer.php \Drupal\serialization_test\SerializationTestNormalizer::supportsNormalization()
File
-
core/
modules/ serialization/ tests/ serialization_test/ src/ SerializationTestNormalizer.php, line 32
Class
Namespace
Drupal\serialization_testCode
public function supportsNormalization($data, ?string $format = NULL, array $context = []) : bool {
return static::$format === $format;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.