constant ResourceObjectNormalizationCacher::RESOURCE_CACHE_SUBSET_FIELDS in Drupal 8
Same name and namespace in other branches
- 9 core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php \Drupal\jsonapi\EventSubscriber\ResourceObjectNormalizationCacher::RESOURCE_CACHE_SUBSET_FIELDS
- 10 core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php \Drupal\jsonapi\EventSubscriber\ResourceObjectNormalizationCacher::RESOURCE_CACHE_SUBSET_FIELDS
Key for the fields subset.
The fields subset contains the parts of the normalization that can appear in a normalization based on the selected field set. This subset is incrementally built across different requests for the same resource object. A given field is normalized and put into the cache whenever there is a cache miss for that field.
File
- core/
modules/ jsonapi/ src/ EventSubscriber/ ResourceObjectNormalizationCacher.php, line 40
Class
- ResourceObjectNormalizationCacher
- Caches entity normalizations after the response has been sent.
Namespace
Drupal\jsonapi\EventSubscriberCode
const RESOURCE_CACHE_SUBSET_FIELDS = 'fields';