Search for source

  1. Search 7.x for source
  2. Search 9.5.x for source
  3. Search 10.3.x for source
  4. Search 11.x for source
  5. Other projects
Title Object type File name Summary
ResourceObjectNormalizationCacher::$renderCache property core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php The render cache.
ResourceObjectNormalizationCacher::$toCache property core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php The things to cache after the response has been sent.
ResourceObjectNormalizationCacher::generateLookupRenderArray function core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php Generates a lookup render array for a normalization.
ResourceObjectNormalizationCacher::get function core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php Reads an entity normalization from cache.
ResourceObjectNormalizationCacher::getSubscribedEvents function core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php
ResourceObjectNormalizationCacher::mergeCacheableDependencies function core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php Determines the joint cacheability of all provided dependencies.
ResourceObjectNormalizationCacher::onTerminate function core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php Writes normalizations of entities to cache, if any were created.
ResourceObjectNormalizationCacher::RESOURCE_CACHE_SUBSET_BASE constant core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php Key for the base subset.
ResourceObjectNormalizationCacher::RESOURCE_CACHE_SUBSET_FIELDS constant core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php Key for the fields subset.
ResourceObjectNormalizationCacher::saveOnTerminate function core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php Adds a normalization to be cached after the response has been sent.
ResourceObjectNormalizationCacher::set function core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php Writes a normalization to cache.
ResourceObjectNormalizationCacher::setRenderCache function core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php Sets the render cache service.
ResourceObjectNormalizer class core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php Converts the JSON:API module ResourceObject into a JSON:API array structure.
ResourceObjectNormalizer.php file core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php
ResourceObjectNormalizer::$cacher property core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php The entity normalization cacher.
ResourceObjectNormalizer::$supportedInterfaceOrClass property core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php The interface or class that this Normalizer supports.
ResourceObjectNormalizer::buildEmptyNormalization function core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php Builds the empty normalization structure for cache misses.
ResourceObjectNormalizer::getNormalization function core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php Normalizes an entity using the given fieldset.
ResourceObjectNormalizer::normalize function core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php
ResourceObjectNormalizer::serializeField function core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php Serializes a given field.
ResourceObjectNormalizer::supportsDenormalization function core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php Implements \Symfony\Component\Serializer\Normalizer\DenormalizerInterface::supportsDenormalization()
ResourceObjectNormalizer::__construct function core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php Constructs a ResourceObjectNormalizer object.
ResourceObjectNormalizerCacherTest class core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php @coversDefaultClass \Drupal\jsonapi\EventSubscriber\ResourceObjectNormalizationCacher
@group jsonapi
ResourceObjectNormalizerCacherTest.php file core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php
ResourceObjectNormalizerCacherTest::$cacher property core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php The object under test.
ResourceObjectNormalizerCacherTest::$modules property core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php Modules to enable.
ResourceObjectNormalizerCacherTest::$resourceTypeRepository property core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php The JSON:API resource type repository.
ResourceObjectNormalizerCacherTest::$serializer property core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php The JSON:API serializer.
ResourceObjectNormalizerCacherTest::setUp function core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php
ResourceObjectNormalizerCacherTest::testLinkNormalizationCacheability function core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php Tests that link normalization cache information is not lost.
ResourcePluginManager class core/modules/rest/src/Plugin/Type/ResourcePluginManager.php Manages discovery and instantiation of resource plugins.
ResourcePluginManager.php file core/modules/rest/src/Plugin/Type/ResourcePluginManager.php
ResourcePluginManager::getInstance function core/modules/rest/src/Plugin/Type/ResourcePluginManager.php
ResourcePluginManager::__construct function core/modules/rest/src/Plugin/Type/ResourcePluginManager.php Constructs a new \Drupal\rest\Plugin\Type\ResourcePluginManager object.
ResourceResponse class core/modules/rest/src/ResourceResponse.php Contains data for serialization before sending the response.
ResourceResponse class core/modules/jsonapi/src/ResourceResponse.php Contains data for serialization before sending the response.
ResourceResponse.php file core/modules/jsonapi/src/ResourceResponse.php
ResourceResponse.php file core/modules/rest/src/ResourceResponse.php
ResourceResponse::$responseData property core/modules/jsonapi/src/ResourceResponse.php Response data that should be serialized.
ResourceResponse::getResponseData function core/modules/jsonapi/src/ResourceResponse.php Returns response data that should be serialized.
ResourceResponse::__construct function core/modules/jsonapi/src/ResourceResponse.php Constructor for ResourceResponse objects.
ResourceResponse::__construct function core/modules/rest/src/ResourceResponse.php Constructor for ResourceResponse objects.
ResourceResponseInterface interface core/modules/rest/src/ResourceResponseInterface.php Defines a common interface for resource responses.
ResourceResponseInterface.php file core/modules/rest/src/ResourceResponseInterface.php
ResourceResponseInterface::getResponseData function core/modules/rest/src/ResourceResponseInterface.php Returns response data that should be serialized.
ResourceResponseSubscriber class core/modules/rest/src/EventSubscriber/ResourceResponseSubscriber.php Response subscriber that serializes and removes ResourceResponses' data.
ResourceResponseSubscriber class core/modules/jsonapi/src/EventSubscriber/ResourceResponseSubscriber.php Response subscriber that serializes and removes ResourceResponses' data.
ResourceResponseSubscriber.php file core/modules/jsonapi/src/EventSubscriber/ResourceResponseSubscriber.php
ResourceResponseSubscriber.php file core/modules/rest/src/EventSubscriber/ResourceResponseSubscriber.php
ResourceResponseSubscriber::$renderer property core/modules/rest/src/EventSubscriber/ResourceResponseSubscriber.php The renderer.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.