You are here

public function NormalizerWrapper::supportsNormalization in Acquia Content Hub 8

Checks normalization support.

Parameters

mixed $data: Data for the normalization.

mixed|null $format: Format for the normalization.

Return value

mixed Whether this supports normalization.

Overrides NormalizerBase::supportsNormalization

File

src/Normalizer/NormalizerWrapper.php, line 55

Class

NormalizerWrapper
Wrapper for the normalizer.

Namespace

Drupal\acquia_contenthub\Normalizer

Code

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