Search for source
- Search 7.x for source
- Search 9.5.x for source
- Search 8.9.x for source
- Search 10.3.x for source
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
ResourceInterface::permissions | function | core/ |
Provides an array of permissions suitable for .permissions.yml files. |
ResourceInterface::routes | function | core/ |
Returns a collection of routes with URL path information for the resource. |
ResourceObject | class | core/ |
Represents a JSON:API resource object. |
ResourceObject.php | file | core/ |
|
ResourceObject::$fields | property | core/ |
The object's fields. |
ResourceObject::$language | property | core/ |
The resource language. |
ResourceObject::$links | property | core/ |
The resource object's links. |
ResourceObject::$versionIdentifier | property | core/ |
The resource object's version identifier. |
ResourceObject::buildLinksFromEntity | function | core/ |
Builds a LinkCollection for the given entity. |
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::$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. |
Pagination
- Previous page
- Page 30
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.