function SerializationTestNormalizer::getSupportedTypes

Same name in other branches
  1. 10 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 39

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.