Search for object
- Search 7.x for object
- Search 9.5.x for object
- Search 8.9.x for object
- Search 11.x for object
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
ResourceObjectData | class | core/ |
Represents the primary data for individual and collection documents. |
ResourceObjectData.php | file | core/ |
|
ResourceObjectData::getAccessible | function | core/ |
Gets only data to be exposed. |
ResourceObjectData::getData | function | core/ |
Returns the data for the top-level data member of a JSON:API document. |
ResourceObjectData::getMergedLinks | function | core/ |
Merges the object's links with the top-level links. |
ResourceObjectData::getMergedMeta | function | core/ |
Merges the object's meta member with the top-level meta member. |
ResourceObjectData::getOmissions | function | core/ |
Gets only data to be omitted. |
ResourceObjectData::__construct | function | core/ |
ResourceObjectData constructor. |
ResourceObjectNormalizationCacher | class | core/ |
Caches entity normalizations after the response has been sent. |
ResourceObjectNormalizationCacher.php | file | core/ |
|
ResourceObjectNormalizationCacher::$requestStack | property | core/ |
The request stack. |
ResourceObjectNormalizationCacher::$toCache | property | core/ |
The things to cache after the response has been sent. |
ResourceObjectNormalizationCacher::$variationCache | property | core/ |
The variation cache. |
ResourceObjectNormalizationCacher::generateCacheKeys | function | core/ |
Generates the cache keys for a normalization. |
ResourceObjectNormalizationCacher::get | function | core/ |
Reads an entity normalization from cache. |
ResourceObjectNormalizationCacher::getSubscribedEvents | function | core/ |
|
ResourceObjectNormalizationCacher::mergeCacheableDependencies | function | core/ |
Determines the joint cacheability of all provided dependencies. |
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. |
ResourceResponseTestTrait::addOmittedObject | function | core/ |
Add the omitted object to the document or merges it if one already exists. |
ResourceResponseTestTrait::errorsToOmittedObject | function | core/ |
Maps error objects into an omitted object. |
ResourceResponseTestTrait::mergeOmittedObjects | function | core/ |
Merges the links of two omitted objects and returns a new omitted object. |
RouteMatch::getRouteObject | function | core/ |
|
RouteMatchInterface::getRouteObject | function | core/ |
Returns the route object. |
RouteMatchTestBase::testGetRouteObject | function | core/ |
@covers ::getRouteObject @dataProvider routeMatchProvider |
Pagination
- Previous page
- Page 5
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.