Search for source

  1. Search 7.x for source
  2. Search 9.5.x for source
  3. Search 8.9.x for source
  4. Search 10.3.x for source
  5. Other projects
Title Object type File name Summary
EntityResource class core/modules/jsonapi/src/Controller/EntityResource.php Process all entity requests.
EntityResource class core/modules/rest/src/Plugin/rest/resource/EntityResource.php Represents entities as resources.
EntityResource.php file core/modules/rest/src/Plugin/rest/resource/EntityResource.php
EntityResource.php file core/modules/jsonapi/src/Controller/EntityResource.php
EntityResource::$configFactory property core/modules/rest/src/Plugin/rest/resource/EntityResource.php The config factory.
EntityResource::$entityAccessChecker property core/modules/jsonapi/src/Controller/EntityResource.php The JSON:API entity access checker.
EntityResource::$entityRepository property core/modules/jsonapi/src/Controller/EntityResource.php The entity repository.
EntityResource::$entityType property core/modules/rest/src/Plugin/rest/resource/EntityResource.php The entity type targeted by this resource.
EntityResource::$entityTypeManager property core/modules/jsonapi/src/Controller/EntityResource.php The entity type manager.
EntityResource::$fieldManager property core/modules/jsonapi/src/Controller/EntityResource.php The field manager.
EntityResource::$fieldResolver property core/modules/jsonapi/src/Controller/EntityResource.php The JSON:API field resolver.
EntityResource::$includeResolver property core/modules/jsonapi/src/Controller/EntityResource.php The include resolver.
EntityResource::$linkRelationTypeManager property core/modules/rest/src/Plugin/rest/resource/EntityResource.php The link relation type manager used to create HTTP header links.
EntityResource::$renderer property core/modules/jsonapi/src/Controller/EntityResource.php The renderer.
EntityResource::$resourceTypeRepository property core/modules/jsonapi/src/Controller/EntityResource.php The resource type repository.
EntityResource::$serializer property core/modules/jsonapi/src/Controller/EntityResource.php The JSON:API serializer.
EntityResource::$time property core/modules/jsonapi/src/Controller/EntityResource.php The time service.
EntityResource::$user property core/modules/jsonapi/src/Controller/EntityResource.php The current user account.
EntityResource::addLinkHeaders function core/modules/rest/src/Plugin/rest/resource/EntityResource.php Adds link headers to a response.
EntityResource::addToRelationshipData function core/modules/jsonapi/src/Controller/EntityResource.php Adds a relationship to a to-many relationship.
EntityResource::availableMethods function core/modules/rest/src/Plugin/rest/resource/EntityResource.php Returns the available HTTP request methods on this plugin.
EntityResource::buildWrappedResponse function core/modules/jsonapi/src/Controller/EntityResource.php Builds a response with the appropriate wrapped document.
EntityResource::calculateDependencies function core/modules/rest/src/Plugin/rest/resource/EntityResource.php Calculates dependencies for the configured plugin.
EntityResource::checkPatchFieldAccess function core/modules/rest/src/Plugin/rest/resource/EntityResource.php Checks whether the given field should be PATCHed.
EntityResource::checkPatchFieldAccess function core/modules/jsonapi/src/Controller/EntityResource.php Checks whether the given field should be PATCHed.
EntityResource::create function core/modules/rest/src/Plugin/rest/resource/EntityResource.php Creates an instance of the plugin.
EntityResource::createIndividual function core/modules/jsonapi/src/Controller/EntityResource.php Creates an individual entity.
EntityResource::delete function core/modules/rest/src/Plugin/rest/resource/EntityResource.php Responds to entity DELETE requests.
EntityResource::deleteIndividual function core/modules/jsonapi/src/Controller/EntityResource.php Deletes an individual entity.
EntityResource::deserialize function core/modules/jsonapi/src/Controller/EntityResource.php Deserializes a request body, if any.
EntityResource::doPatchIndividualRelationship function core/modules/jsonapi/src/Controller/EntityResource.php Update a to-one relationship.
EntityResource::doPatchMultipleRelationship function core/modules/jsonapi/src/Controller/EntityResource.php Update a to-many relationship.
EntityResource::entityExists function core/modules/jsonapi/src/Controller/EntityResource.php Checks if the given entity exists.
EntityResource::executeQueryInRenderContext function core/modules/jsonapi/src/Controller/EntityResource.php Executes the query in a render context, to catch bubbled cacheability.
EntityResource::generateFallbackAccessDeniedMessage function core/modules/rest/src/Plugin/rest/resource/EntityResource.php Generates a fallback access denied message, when no specific reason is set.
EntityResource::get function core/modules/rest/src/Plugin/rest/resource/EntityResource.php Responds to entity GET requests.
EntityResource::getBaseRoute function core/modules/rest/src/Plugin/rest/resource/EntityResource.php Gets the base route for a particular method.
EntityResource::getCollection function core/modules/jsonapi/src/Controller/EntityResource.php Gets the collection of entities.
EntityResource::getCollectionCountQuery function core/modules/jsonapi/src/Controller/EntityResource.php Gets a basic query for a collection count.
EntityResource::getCollectionQuery function core/modules/jsonapi/src/Controller/EntityResource.php Gets a basic query for a collection.
EntityResource::getEntityFromResourceIdentifier function core/modules/jsonapi/src/Controller/EntityResource.php Loads the entity targeted by a resource identifier.
EntityResource::getIncludes function core/modules/jsonapi/src/Controller/EntityResource.php Gets includes for the given response data.
EntityResource::getIndividual function core/modules/jsonapi/src/Controller/EntityResource.php Gets the individual entity.
EntityResource::getJsonApiParams function core/modules/jsonapi/src/Controller/EntityResource.php Extracts JSON:API query parameters from the request.
EntityResource::getPagerLinks function core/modules/jsonapi/src/Controller/EntityResource.php Get the pager links for a given request object.
EntityResource::getPagerQueries function core/modules/jsonapi/src/Controller/EntityResource.php Get the query param array.
EntityResource::getRelated function core/modules/jsonapi/src/Controller/EntityResource.php Gets the related resource.
EntityResource::getRelationship function core/modules/jsonapi/src/Controller/EntityResource.php Gets the relationship of an entity.
EntityResource::getRequestLink function core/modules/jsonapi/src/Controller/EntityResource.php Get the full URL for a given request object.
EntityResource::isConfigEntityResource function core/modules/rest/src/Plugin/rest/resource/EntityResource.php Checks if this resource is for a Config Entity.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.