You are here

public function ResourceObjectNormalizer::supportsDenormalization in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php \Drupal\jsonapi\Normalizer\ResourceObjectNormalizer::supportsDenormalization()

Implements \Symfony\Component\Serializer\Normalizer\DenormalizerInterface::supportsDenormalization()

This class doesn't implement DenormalizerInterface, but most of its child classes do. Therefore, this method is implemented at this level to reduce code duplication.

Overrides NormalizerBase::supportsDenormalization

File

core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php, line 50

Class

ResourceObjectNormalizer
Converts the JSON:API module ResourceObject into a JSON:API array structure.

Namespace

Drupal\jsonapi\Normalizer

Code

public function supportsDenormalization($data, $type, $format = NULL) {
  return FALSE;
}