You are here

constant ResourceObjectNormalizationCacher::RESOURCE_CACHE_SUBSET_BASE in Drupal 8

Same name and namespace in other branches
  1. 9 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\EventSubscriber

Code

const RESOURCE_CACHE_SUBSET_BASE = 'base';