You are here

public function NormalizerWrapper::supportsDenormalization in Acquia Content Hub 8

Checks for denormalization support.

Parameters

mixed $data: Data for denormalization.

mixed $type: Type for denormalization.

mixed|null $format: Format for denormalization.

Return value

mixed Whether this supports denormalization.

Overrides NormalizerBase::supportsDenormalization

File

src/Normalizer/NormalizerWrapper.php, line 72

Class

NormalizerWrapper
Wrapper for the normalizer.

Namespace

Drupal\acquia_contenthub\Normalizer

Code

public function supportsDenormalization($data, $type, $format = NULL) {
  return $this->contentEntityCdfNormalizer
    ->supportsDenormalization($data, $type, $format);
}