function FieldItemNormalizer::hasCacheableSupportsMethod
Same name in this branch
- 9 core/modules/hal/src/Normalizer/FieldItemNormalizer.php \Drupal\hal\Normalizer\FieldItemNormalizer::hasCacheableSupportsMethod()
Same name in other branches
- 10 core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php \Drupal\jsonapi\Normalizer\FieldItemNormalizer::hasCacheableSupportsMethod()
Overrides NormalizerBase::hasCacheableSupportsMethod
File
-
core/
modules/ jsonapi/ src/ Normalizer/ FieldItemNormalizer.php, line 246
Class
- FieldItemNormalizer
- Converts the Drupal field item object to a JSON:API array structure.
Namespace
Drupal\jsonapi\NormalizerCode
public function hasCacheableSupportsMethod() : bool {
return TRUE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.