Search for source
- Search 7.x for source
- Search 8.9.x for source
- Search 10.3.x for source
- Search 11.x for source
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
ResourceObject::createFromEntity | function | core/ |
Creates a new ResourceObject from an entity. |
ResourceObject::extractConfigEntityFields | function | core/ |
Extracts a config entity's fields. |
ResourceObject::extractContentEntityFields | function | core/ |
Extracts a content entity's fields. |
ResourceObject::extractFieldsFromEntity | function | core/ |
Extracts the entity's fields. |
ResourceObject::getField | function | core/ |
Gets the given field. |
ResourceObject::getFields | function | core/ |
Gets the ResourceObject's fields. |
ResourceObject::getLabelFieldName | function | core/ |
Determines the entity type's (internal) label field name. |
ResourceObject::getLanguage | function | core/ |
Gets the ResourceObject's language. |
ResourceObject::getLinks | function | core/ |
Gets the ResourceObject's links. |
ResourceObject::getVersionIdentifier | function | core/ |
Gets a version identifier for the ResourceObject. |
ResourceObject::hasField | function | core/ |
Whether the resource object has the given field. |
ResourceObject::toUrl | function | core/ |
Gets a Url for the ResourceObject. |
ResourceObject::__construct | function | core/ |
ResourceObject constructor. |
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::$renderCache | property | core/ |
The render cache. |
ResourceObjectNormalizationCacher::$toCache | property | core/ |
The things to cache after the response has been sent. |
ResourceObjectNormalizationCacher::generateLookupRenderArray | function | core/ |
Generates a lookup render array 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::setRenderCache | function | core/ |
Sets the render cache service. |
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::$supportedInterfaceOrClass | property | core/ |
The interface or class that this Normalizer supports. |
ResourceObjectNormalizer::buildEmptyNormalization | function | core/ |
Builds the empty normalization structure for cache misses. |
ResourceObjectNormalizer::getNormalization | function | core/ |
Normalizes an entity using the given fieldset. |
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 enable. |
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.