Loading core/modules/hal/src/Normalizer/ContentEntityNormalizer.php +7 −0 Original line number Diff line number Diff line Loading @@ -269,4 +269,11 @@ protected function getTypedDataIds($types, $context = []) { return $typed_data_ids; } /** * {@inheritdoc} */ public function hasCacheableSupportsMethod(): bool { return TRUE; } } core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php +7 −0 Original line number Diff line number Diff line Loading @@ -184,4 +184,11 @@ public function getUuid($data) { } } /** * {@inheritdoc} */ public function hasCacheableSupportsMethod(): bool { return TRUE; } } core/modules/hal/src/Normalizer/FieldItemNormalizer.php +7 −0 Original line number Diff line number Diff line Loading @@ -125,4 +125,11 @@ protected function createTranslatedInstance(FieldItemInterface $item, $langcode) return $entity_translation->get($field_name)->appendItem(); } /** * {@inheritdoc} */ public function hasCacheableSupportsMethod(): bool { return TRUE; } } core/modules/hal/src/Normalizer/FieldNormalizer.php +7 −0 Original line number Diff line number Diff line Loading @@ -71,4 +71,11 @@ protected function normalizeFieldItems($field_items, $format, $context) { return $normalized_field_items; } /** * {@inheritdoc} */ public function hasCacheableSupportsMethod(): bool { return TRUE; } } core/modules/hal/src/Normalizer/FileEntityNormalizer.php +7 −0 Original line number Diff line number Diff line Loading @@ -74,4 +74,11 @@ protected function getEntityUri(EntityInterface $entity, array $context = []) { return $entity->createFileUrl(FALSE); } /** * {@inheritdoc} */ public function hasCacheableSupportsMethod(): bool { return TRUE; } } Loading
core/modules/hal/src/Normalizer/ContentEntityNormalizer.php +7 −0 Original line number Diff line number Diff line Loading @@ -269,4 +269,11 @@ protected function getTypedDataIds($types, $context = []) { return $typed_data_ids; } /** * {@inheritdoc} */ public function hasCacheableSupportsMethod(): bool { return TRUE; } }
core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php +7 −0 Original line number Diff line number Diff line Loading @@ -184,4 +184,11 @@ public function getUuid($data) { } } /** * {@inheritdoc} */ public function hasCacheableSupportsMethod(): bool { return TRUE; } }
core/modules/hal/src/Normalizer/FieldItemNormalizer.php +7 −0 Original line number Diff line number Diff line Loading @@ -125,4 +125,11 @@ protected function createTranslatedInstance(FieldItemInterface $item, $langcode) return $entity_translation->get($field_name)->appendItem(); } /** * {@inheritdoc} */ public function hasCacheableSupportsMethod(): bool { return TRUE; } }
core/modules/hal/src/Normalizer/FieldNormalizer.php +7 −0 Original line number Diff line number Diff line Loading @@ -71,4 +71,11 @@ protected function normalizeFieldItems($field_items, $format, $context) { return $normalized_field_items; } /** * {@inheritdoc} */ public function hasCacheableSupportsMethod(): bool { return TRUE; } }
core/modules/hal/src/Normalizer/FileEntityNormalizer.php +7 −0 Original line number Diff line number Diff line Loading @@ -74,4 +74,11 @@ protected function getEntityUri(EntityInterface $entity, array $context = []) { return $entity->createFileUrl(FALSE); } /** * {@inheritdoc} */ public function hasCacheableSupportsMethod(): bool { return TRUE; } }