function DataNormalizer::getSupportedTypes
Overrides NormalizerBase::getSupportedTypes
File
-
core/
modules/ jsonapi/ src/ Normalizer/ DataNormalizer.php, line 31
Class
- DataNormalizer
- Normalizes JSON:API Data objects.
Namespace
Drupal\jsonapi\NormalizerCode
public function getSupportedTypes(?string $format) : array {
return [
Data::class => TRUE,
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.