function FieldItemNormalizer::hasCacheableSupportsMethod

Overrides NormalizerBase::hasCacheableSupportsMethod

2 methods override FieldItemNormalizer::hasCacheableSupportsMethod()
EntityReferenceItemNormalizer::hasCacheableSupportsMethod in core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php
TimestampItemNormalizer::hasCacheableSupportsMethod in core/modules/hal/src/Normalizer/TimestampItemNormalizer.php

File

core/modules/hal/src/Normalizer/FieldItemNormalizer.php, line 131

Class

FieldItemNormalizer
Converts the Drupal field item object structure to HAL array structure.

Namespace

Drupal\hal\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.