function FieldNormalizer::hasCacheableSupportsMethod

Same name in this branch
  1. 9 core/modules/jsonapi/src/Normalizer/FieldNormalizer.php \Drupal\jsonapi\Normalizer\FieldNormalizer::hasCacheableSupportsMethod()
Same name in other branches
  1. 10 core/modules/jsonapi/src/Normalizer/FieldNormalizer.php \Drupal\jsonapi\Normalizer\FieldNormalizer::hasCacheableSupportsMethod()

Overrides ListNormalizer::hasCacheableSupportsMethod

File

core/modules/hal/src/Normalizer/FieldNormalizer.php, line 77

Class

FieldNormalizer
Converts the Drupal field 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.