function PrimitiveDataNormalizer::hasCacheableSupportsMethod

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

Overrides NormalizerBase::hasCacheableSupportsMethod

File

core/modules/serialization/src/Normalizer/PrimitiveDataNormalizer.php, line 47

Class

PrimitiveDataNormalizer
Converts primitive data objects to their casted values.

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.