Search for source
- Search 7.x for source
- Search 9.5.x for source
- Search 8.9.x for source
- Search 11.x for source
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
ResourceObjectNormalizationCacher::onTerminate | function | core/ |
Writes normalizations of entities to cache, if any were created. |
ResourceObjectNormalizationCacher::RESOURCE_CACHE_SUBSET_BASE | constant | core/ |
Key for the base subset. |
ResourceObjectNormalizationCacher::RESOURCE_CACHE_SUBSET_FIELDS | constant | core/ |
Key for the fields subset. |
ResourceObjectNormalizationCacher::saveOnTerminate | function | core/ |
Adds a normalization to be cached after the response has been sent. |
ResourceObjectNormalizationCacher::set | function | core/ |
Writes a normalization to cache. |
ResourceObjectNormalizationCacher::setRequestStack | function | core/ |
Sets the request stack. |
ResourceObjectNormalizationCacher::setVariationCache | function | core/ |
Sets the variation cache. |
ResourceObjectNormalizer | class | core/ |
Converts the JSON:API module ResourceObject into a JSON:API array structure. |
ResourceObjectNormalizer.php | file | core/ |
|
ResourceObjectNormalizer::$cacher | property | core/ |
The entity normalization cacher. |
ResourceObjectNormalizer::buildEmptyNormalization | function | core/ |
Builds the empty normalization structure for cache misses. |
ResourceObjectNormalizer::getNormalization | function | core/ |
Normalizes an entity using the given fieldset. |
ResourceObjectNormalizer::getSupportedTypes | function | core/ |
|
ResourceObjectNormalizer::hasCacheableSupportsMethod | function | core/ |
|
ResourceObjectNormalizer::normalize | function | core/ |
|
ResourceObjectNormalizer::serializeField | function | core/ |
Serializes a given field. |
ResourceObjectNormalizer::supportsDenormalization | function | core/ |
Implements \Symfony\Component\Serializer\Normalizer\DenormalizerInterface::supportsDenormalization() |
ResourceObjectNormalizer::__construct | function | core/ |
Constructs a ResourceObjectNormalizer object. |
ResourceObjectNormalizerCacherTest | class | core/ |
@coversDefaultClass \Drupal\jsonapi\EventSubscriber\ResourceObjectNormalizationCacher @group jsonapi |
ResourceObjectNormalizerCacherTest.php | file | core/ |
|
ResourceObjectNormalizerCacherTest::$cacher | property | core/ |
The object under test. |
ResourceObjectNormalizerCacherTest::$modules | property | core/ |
Modules to install. |
ResourceObjectNormalizerCacherTest::$resourceTypeRepository | property | core/ |
The JSON:API resource type repository. |
ResourceObjectNormalizerCacherTest::$serializer | property | core/ |
The JSON:API serializer. |
ResourceObjectNormalizerCacherTest::setUp | function | core/ |
|
ResourceObjectNormalizerCacherTest::testLinkNormalizationCacheability | function | core/ |
Tests that link normalization cache information is not lost. |
ResourceObjectNormalizerCacherTest::testMaxAgeCorrection | function | core/ |
Tests that normalization max-age is correct. |
ResourcePluginManager | class | core/ |
Manages discovery and instantiation of resource plugins. |
ResourcePluginManager.php | file | core/ |
|
ResourcePluginManager::__construct | function | core/ |
Constructs a new \Drupal\rest\Plugin\Type\ResourcePluginManager object. |
ResourceResponse | class | core/ |
Contains data for serialization before sending the response. |
ResourceResponse | class | core/ |
Contains data for serialization before sending the response. |
ResourceResponse.php | file | core/ |
|
ResourceResponse.php | file | core/ |
|
ResourceResponse::$responseData | property | core/ |
Response data that should be serialized. |
ResourceResponse::getResponseData | function | core/ |
Returns response data that should be serialized. |
ResourceResponse::__construct | function | core/ |
Constructor for ResourceResponse objects. |
ResourceResponse::__construct | function | core/ |
Constructor for ResourceResponse objects. |
ResourceResponseInterface | interface | core/ |
Defines a common interface for resource responses. |
ResourceResponseInterface.php | file | core/ |
|
ResourceResponseInterface::getResponseData | function | core/ |
Returns response data that should be serialized. |
ResourceResponseSubscriber | class | core/ |
Response subscriber that serializes and removes ResourceResponses' data. |
ResourceResponseSubscriber | class | core/ |
Response subscriber that serializes and removes ResourceResponses' data. |
ResourceResponseSubscriber.php | file | core/ |
|
ResourceResponseSubscriber.php | file | core/ |
|
ResourceResponseSubscriber::$renderer | property | core/ |
The renderer. |
ResourceResponseSubscriber::$routeMatch | property | core/ |
The current route match. |
ResourceResponseSubscriber::$serializer | property | core/ |
The serializer. |
ResourceResponseSubscriber::$serializer | property | core/ |
The serializer. |
ResourceResponseSubscriber::flattenResponse | function | core/ |
Flattens a fully rendered resource response. |
Pagination
- Previous page
- Page 31
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.