function SerializationTestNormalizer::getSupportedTypes

Same name and namespace in other branches
  1. 11.x core/modules/serialization/tests/serialization_test/src/SerializationTestNormalizer.php \Drupal\serialization_test\SerializationTestNormalizer::getSupportedTypes()
  2. 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 37

Class

SerializationTestNormalizer

Namespace

Drupal\serialization_test

Code

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.