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 |
---|---|---|---|
EntityResource | class | core/ |
Process all entity requests. |
EntityResource | class | core/ |
Represents entities as resources. |
EntityResource.php | file | core/ |
|
EntityResource.php | file | core/ |
|
EntityResource::$configFactory | property | core/ |
The config factory. |
EntityResource::$entityAccessChecker | property | core/ |
The JSON:API entity access checker. |
EntityResource::$entityRepository | property | core/ |
The entity repository. |
EntityResource::$entityType | property | core/ |
The entity type targeted by this resource. |
EntityResource::$entityTypeManager | property | core/ |
The entity type manager. |
EntityResource::$fieldManager | property | core/ |
The field manager. |
EntityResource::$fieldResolver | property | core/ |
The JSON:API field resolver. |
EntityResource::$includeResolver | property | core/ |
The include resolver. |
EntityResource::$linkRelationTypeManager | property | core/ |
The link relation type manager used to create HTTP header links. |
EntityResource::$renderer | property | core/ |
The renderer. |
EntityResource::$resourceTypeRepository | property | core/ |
The resource type repository. |
EntityResource::$serializer | property | core/ |
The JSON:API serializer. |
EntityResource::$time | property | core/ |
The time service. |
EntityResource::$user | property | core/ |
The current user account. |
EntityResource::addLinkHeaders | function | core/ |
Adds link headers to a response. |
EntityResource::addToRelationshipData | function | core/ |
Adds a relationship to a to-many relationship. |
EntityResource::availableMethods | function | core/ |
Returns the available HTTP request methods on this plugin. |
EntityResource::buildWrappedResponse | function | core/ |
Builds a response with the appropriate wrapped document. |
EntityResource::calculateDependencies | function | core/ |
Calculates dependencies for the configured plugin. |
EntityResource::checkPatchFieldAccess | function | core/ |
Checks whether the given field should be PATCHed. |
EntityResource::checkPatchFieldAccess | function | core/ |
Checks whether the given field should be PATCHed. |
EntityResource::create | function | core/ |
Creates an instance of the plugin. |
EntityResource::createIndividual | function | core/ |
Creates an individual entity. |
EntityResource::delete | function | core/ |
Responds to entity DELETE requests. |
EntityResource::deleteIndividual | function | core/ |
Deletes an individual entity. |
EntityResource::deserialize | function | core/ |
Deserializes a request body, if any. |
EntityResource::doPatchIndividualRelationship | function | core/ |
Update a to-one relationship. |
EntityResource::doPatchMultipleRelationship | function | core/ |
Update a to-many relationship. |
EntityResource::entityExists | function | core/ |
Checks if the given entity exists. |
EntityResource::executeQueryInRenderContext | function | core/ |
Executes the query in a render context, to catch bubbled cacheability. |
EntityResource::generateFallbackAccessDeniedMessage | function | core/ |
Generates a fallback access denied message, when no specific reason is set. |
EntityResource::get | function | core/ |
Responds to entity GET requests. |
EntityResource::getBaseRoute | function | core/ |
Gets the base route for a particular method. |
EntityResource::getCollection | function | core/ |
Gets the collection of entities. |
EntityResource::getCollectionCountQuery | function | core/ |
Gets a basic query for a collection count. |
EntityResource::getCollectionQuery | function | core/ |
Gets a basic query for a collection. |
EntityResource::getEntityFromResourceIdentifier | function | core/ |
Loads the entity targeted by a resource identifier. |
EntityResource::getIncludes | function | core/ |
Gets includes for the given response data. |
EntityResource::getIndividual | function | core/ |
Gets the individual entity. |
EntityResource::getJsonApiParams | function | core/ |
Extracts JSON:API query parameters from the request. |
EntityResource::getPagerLinks | function | core/ |
Get the pager links for a given request object. |
EntityResource::getPagerQueries | function | core/ |
Get the query param array. |
EntityResource::getRelated | function | core/ |
Gets the related resource. |
EntityResource::getRelationship | function | core/ |
Gets the relationship of an entity. |
EntityResource::getRequestLink | function | core/ |
Get the full URL for a given request object. |
EntityResource::isConfigEntityResource | function | core/ |
Checks if this resource is for a Config Entity. |
Pagination
- Previous page
- Page 8
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.