ResourceObjectNormalizationCacher::RESOURCE_CACHE_SUBSET_BASE
Same name in other branches
- 9 core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php \Drupal\jsonapi\EventSubscriber\ResourceObjectNormalizationCacher::RESOURCE_CACHE_SUBSET_BASE
- 10 core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php \Drupal\jsonapi\EventSubscriber\ResourceObjectNormalizationCacher::RESOURCE_CACHE_SUBSET_BASE
- 11.x core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php \Drupal\jsonapi\EventSubscriber\ResourceObjectNormalizationCacher::RESOURCE_CACHE_SUBSET_BASE
Key for the base subset.
The base subset contains the parts of the normalization that are always present. The presence or absence of these are not affected by the requested sparse field sets. This typically includes the resource type name, and the resource ID.
File
-
core/
modules/ jsonapi/ src/ EventSubscriber/ ResourceObjectNormalizationCacher.php, line 29
Class
- ResourceObjectNormalizationCacher
- Caches entity normalizations after the response has been sent.
Namespace
Drupal\jsonapi\EventSubscriberCode
const RESOURCE_CACHE_SUBSET_BASE = 'base';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.