Search for source

  1. Search 7.x for source
  2. Search 8.9.x for source
  3. Search 10.3.x for source
  4. Search 11.x for source
  5. Other projects
Title Object type File name Summary
ResourceObjectNormalizerCacherTest::$resourceTypeRepository property core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php The JSON:API resource type repository.
ResourceObjectNormalizerCacherTest::$serializer property core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php The JSON:API serializer.
ResourceObjectNormalizerCacherTest::setUp function core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php
ResourceObjectNormalizerCacherTest::testLinkNormalizationCacheability function core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php Tests that link normalization cache information is not lost.
ResourcePluginManager class core/modules/rest/src/Plugin/Type/ResourcePluginManager.php Manages discovery and instantiation of resource plugins.
ResourcePluginManager.php file core/modules/rest/src/Plugin/Type/ResourcePluginManager.php
ResourcePluginManager::__construct function core/modules/rest/src/Plugin/Type/ResourcePluginManager.php Constructs a new \Drupal\rest\Plugin\Type\ResourcePluginManager object.
ResourceResponse class core/modules/rest/src/ResourceResponse.php Contains data for serialization before sending the response.
ResourceResponse class core/modules/jsonapi/src/ResourceResponse.php Contains data for serialization before sending the response.
ResourceResponse.php file core/modules/jsonapi/src/ResourceResponse.php
ResourceResponse.php file core/modules/rest/src/ResourceResponse.php
ResourceResponse::$responseData property core/modules/jsonapi/src/ResourceResponse.php Response data that should be serialized.
ResourceResponse::getResponseData function core/modules/jsonapi/src/ResourceResponse.php Returns response data that should be serialized.
ResourceResponse::__construct function core/modules/jsonapi/src/ResourceResponse.php Constructor for ResourceResponse objects.
ResourceResponse::__construct function core/modules/rest/src/ResourceResponse.php Constructor for ResourceResponse objects.
ResourceResponseInterface interface core/modules/rest/src/ResourceResponseInterface.php Defines a common interface for resource responses.
ResourceResponseInterface.php file core/modules/rest/src/ResourceResponseInterface.php
ResourceResponseInterface::getResponseData function core/modules/rest/src/ResourceResponseInterface.php Returns response data that should be serialized.
ResourceResponseSubscriber class core/modules/rest/src/EventSubscriber/ResourceResponseSubscriber.php Response subscriber that serializes and removes ResourceResponses' data.
ResourceResponseSubscriber class core/modules/jsonapi/src/EventSubscriber/ResourceResponseSubscriber.php Response subscriber that serializes and removes ResourceResponses' data.
ResourceResponseSubscriber.php file core/modules/jsonapi/src/EventSubscriber/ResourceResponseSubscriber.php
ResourceResponseSubscriber.php file core/modules/rest/src/EventSubscriber/ResourceResponseSubscriber.php
ResourceResponseSubscriber::$renderer property core/modules/rest/src/EventSubscriber/ResourceResponseSubscriber.php The renderer.
ResourceResponseSubscriber::$routeMatch property core/modules/rest/src/EventSubscriber/ResourceResponseSubscriber.php The current route match.
ResourceResponseSubscriber::$serializer property core/modules/rest/src/EventSubscriber/ResourceResponseSubscriber.php The serializer.
ResourceResponseSubscriber::$serializer property core/modules/jsonapi/src/EventSubscriber/ResourceResponseSubscriber.php The serializer.
ResourceResponseSubscriber::flattenResponse function core/modules/jsonapi/src/EventSubscriber/ResourceResponseSubscriber.php Flattens a fully rendered resource response.
ResourceResponseSubscriber::flattenResponse function core/modules/rest/src/EventSubscriber/ResourceResponseSubscriber.php Flattens a fully rendered resource response.
ResourceResponseSubscriber::generateContext function core/modules/jsonapi/src/EventSubscriber/ResourceResponseSubscriber.php Generates a top-level JSON:API normalization context.
ResourceResponseSubscriber::getResponseFormat function core/modules/rest/src/EventSubscriber/ResourceResponseSubscriber.php Determines the format to respond in.
ResourceResponseSubscriber::getSubscribedEvents function core/modules/rest/src/EventSubscriber/ResourceResponseSubscriber.php
ResourceResponseSubscriber::getSubscribedEvents function core/modules/jsonapi/src/EventSubscriber/ResourceResponseSubscriber.php
ResourceResponseSubscriber::onResponse function core/modules/jsonapi/src/EventSubscriber/ResourceResponseSubscriber.php Serializes ResourceResponse responses' data, and removes that data.
ResourceResponseSubscriber::onResponse function core/modules/rest/src/EventSubscriber/ResourceResponseSubscriber.php Serializes ResourceResponse responses' data, and removes that data.
ResourceResponseSubscriber::renderResponseBody function core/modules/rest/src/EventSubscriber/ResourceResponseSubscriber.php Renders a resource response body.
ResourceResponseSubscriber::renderResponseBody function core/modules/jsonapi/src/EventSubscriber/ResourceResponseSubscriber.php Renders a resource response body.
ResourceResponseSubscriber::__construct function core/modules/jsonapi/src/EventSubscriber/ResourceResponseSubscriber.php Constructs a ResourceResponseSubscriber object.
ResourceResponseSubscriber::__construct function core/modules/rest/src/EventSubscriber/ResourceResponseSubscriber.php Constructs a ResourceResponseSubscriber object.
ResourceResponseSubscriberTest class core/modules/rest/tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php @coversDefaultClass \Drupal\rest\EventSubscriber\ResourceResponseSubscriber
@group rest
ResourceResponseSubscriberTest.php file core/modules/rest/tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php
ResourceResponseSubscriberTest::generateRouteRequirements function core/modules/rest/tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php Generates route requirements based on supported formats.
ResourceResponseSubscriberTest::getFunctioningResourceResponseSubscriber function core/modules/rest/tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php
ResourceResponseSubscriberTest::providerTestResponseFormat function core/modules/rest/tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php
ResourceResponseSubscriberTest::providerTestSerialization function core/modules/rest/tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php
ResourceResponseSubscriberTest::testOnResponseWithCacheableResponse function core/modules/rest/tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php @covers ::onResponse
@covers ::getResponseFormat
@covers ::renderResponseBody
@covers ::flattenResponse
ResourceResponseSubscriberTest::testOnResponseWithUncacheableResponse function core/modules/rest/tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php @covers ::onResponse
@covers ::getResponseFormat
@covers ::renderResponseBody
@covers ::flattenResponse
ResourceResponseSubscriberTest::testResponseFormat function core/modules/rest/tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php @covers ::getResponseFormat
ResourceResponseSubscriberTest::testSerialization function core/modules/rest/tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php @covers ::onResponse
@dataProvider providerTestSerialization
ResourceResponseTestTrait trait core/modules/jsonapi/tests/src/Functional/ResourceResponseTestTrait.php Utility methods for handling resource responses.
ResourceResponseTestTrait.php file core/modules/jsonapi/tests/src/Functional/ResourceResponseTestTrait.php

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