constant CacheableNormalizerInterface::SERIALIZATION_CONTEXT_CACHEABILITY in Drupal 8
Same name and namespace in other branches
- 9 core/modules/serialization/src/Normalizer/CacheableNormalizerInterface.php \Drupal\serialization\Normalizer\CacheableNormalizerInterface::SERIALIZATION_CONTEXT_CACHEABILITY
- 10 core/modules/serialization/src/Normalizer/CacheableNormalizerInterface.php \Drupal\serialization\Normalizer\CacheableNormalizerInterface::SERIALIZATION_CONTEXT_CACHEABILITY
Name of key for bubbling cacheability metadata via serialization context.
See also
\Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize()
\Symfony\Component\Serializer\SerializerInterface::serialize()
\Drupal\rest\EventSubscriber\ResourceResponseSubscriber::renderResponseBody()
File
- core/
modules/ serialization/ src/ Normalizer/ CacheableNormalizerInterface.php, line 21
Class
- CacheableNormalizerInterface
- Defines the interface for normalizers producing cacheable normalizations.
Namespace
Drupal\serialization\NormalizerCode
const SERIALIZATION_CONTEXT_CACHEABILITY = 'cacheability';