function ComplexDataNormalizer::hasCacheableSupportsMethod

Same name in other branches
  1. 10 core/modules/serialization/src/Normalizer/ComplexDataNormalizer.php \Drupal\serialization\Normalizer\ComplexDataNormalizer::hasCacheableSupportsMethod()

Overrides NormalizerBase::hasCacheableSupportsMethod

1 method overrides ComplexDataNormalizer::hasCacheableSupportsMethod()
LayoutEntityDisplayNormalizer::hasCacheableSupportsMethod in core/modules/layout_builder/src/Normalizer/LayoutEntityDisplayNormalizer.php

File

core/modules/serialization/src/Normalizer/ComplexDataNormalizer.php, line 50

Class

ComplexDataNormalizer
Converts the Drupal entity object structures to a normalized array.

Namespace

Drupal\serialization\Normalizer

Code

public function hasCacheableSupportsMethod() : bool {
    return TRUE;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.