function SerializationTestEncoder::supportsEncoding
Same name in other branches
- 9 core/modules/serialization/tests/serialization_test/src/SerializationTestEncoder.php \Drupal\serialization_test\SerializationTestEncoder::supportsEncoding()
- 10 core/modules/serialization/tests/serialization_test/src/SerializationTestEncoder.php \Drupal\serialization_test\SerializationTestEncoder::supportsEncoding()
- 11.x core/modules/serialization/tests/serialization_test/src/SerializationTestEncoder.php \Drupal\serialization_test\SerializationTestEncoder::supportsEncoding()
File
-
core/
modules/ serialization/ tests/ serialization_test/ src/ SerializationTestEncoder.php, line 27
Class
Namespace
Drupal\serialization_testCode
public function supportsEncoding($format) {
return static::$format === $format;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.