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 |
---|---|---|---|
ResourceObjectNormalizerCacherTest::$resourceTypeRepository | property | core/ |
The JSON:API resource type repository. |
ResourceObjectNormalizerCacherTest::$serializer | property | core/ |
The JSON:API serializer. |
ResourceObjectNormalizerCacherTest::setUp | function | core/ |
|
ResourceObjectNormalizerCacherTest::testLinkNormalizationCacheability | function | core/ |
Tests that link normalization cache information is not lost. |
ResourcePluginManager | class | core/ |
Manages discovery and instantiation of resource plugins. |
ResourcePluginManager.php | file | core/ |
|
ResourcePluginManager::__construct | function | core/ |
Constructs a new \Drupal\rest\Plugin\Type\ResourcePluginManager object. |
ResourceResponse | class | core/ |
Contains data for serialization before sending the response. |
ResourceResponse | class | core/ |
Contains data for serialization before sending the response. |
ResourceResponse.php | file | core/ |
|
ResourceResponse.php | file | core/ |
|
ResourceResponse::$responseData | property | core/ |
Response data that should be serialized. |
ResourceResponse::getResponseData | function | core/ |
Returns response data that should be serialized. |
ResourceResponse::__construct | function | core/ |
Constructor for ResourceResponse objects. |
ResourceResponse::__construct | function | core/ |
Constructor for ResourceResponse objects. |
ResourceResponseInterface | interface | core/ |
Defines a common interface for resource responses. |
ResourceResponseInterface.php | file | core/ |
|
ResourceResponseInterface::getResponseData | function | core/ |
Returns response data that should be serialized. |
ResourceResponseSubscriber | class | core/ |
Response subscriber that serializes and removes ResourceResponses' data. |
ResourceResponseSubscriber | class | core/ |
Response subscriber that serializes and removes ResourceResponses' data. |
ResourceResponseSubscriber.php | file | core/ |
|
ResourceResponseSubscriber.php | file | core/ |
|
ResourceResponseSubscriber::$renderer | property | core/ |
The renderer. |
ResourceResponseSubscriber::$routeMatch | property | core/ |
The current route match. |
ResourceResponseSubscriber::$serializer | property | core/ |
The serializer. |
ResourceResponseSubscriber::$serializer | property | core/ |
The serializer. |
ResourceResponseSubscriber::flattenResponse | function | core/ |
Flattens a fully rendered resource response. |
ResourceResponseSubscriber::flattenResponse | function | core/ |
Flattens a fully rendered resource response. |
ResourceResponseSubscriber::generateContext | function | core/ |
Generates a top-level JSON:API normalization context. |
ResourceResponseSubscriber::getResponseFormat | function | core/ |
Determines the format to respond in. |
ResourceResponseSubscriber::getSubscribedEvents | function | core/ |
|
ResourceResponseSubscriber::getSubscribedEvents | function | core/ |
|
ResourceResponseSubscriber::onResponse | function | core/ |
Serializes ResourceResponse responses' data, and removes that data. |
ResourceResponseSubscriber::onResponse | function | core/ |
Serializes ResourceResponse responses' data, and removes that data. |
ResourceResponseSubscriber::renderResponseBody | function | core/ |
Renders a resource response body. |
ResourceResponseSubscriber::renderResponseBody | function | core/ |
Renders a resource response body. |
ResourceResponseSubscriber::__construct | function | core/ |
Constructs a ResourceResponseSubscriber object. |
ResourceResponseSubscriber::__construct | function | core/ |
Constructs a ResourceResponseSubscriber object. |
ResourceResponseSubscriberTest | class | core/ |
@coversDefaultClass \Drupal\rest\EventSubscriber\ResourceResponseSubscriber @group rest |
ResourceResponseSubscriberTest.php | file | core/ |
|
ResourceResponseSubscriberTest::generateRouteRequirements | function | core/ |
Generates route requirements based on supported formats. |
ResourceResponseSubscriberTest::getFunctioningResourceResponseSubscriber | function | core/ |
|
ResourceResponseSubscriberTest::providerTestResponseFormat | function | core/ |
|
ResourceResponseSubscriberTest::providerTestSerialization | function | core/ |
|
ResourceResponseSubscriberTest::testOnResponseWithCacheableResponse | function | core/ |
@covers ::onResponse @covers ::getResponseFormat @covers ::renderResponseBody @covers ::flattenResponse |
ResourceResponseSubscriberTest::testOnResponseWithUncacheableResponse | function | core/ |
@covers ::onResponse @covers ::getResponseFormat @covers ::renderResponseBody @covers ::flattenResponse |
ResourceResponseSubscriberTest::testResponseFormat | function | core/ |
@covers ::getResponseFormat |
ResourceResponseSubscriberTest::testSerialization | function | core/ |
@covers ::onResponse @dataProvider providerTestSerialization |
ResourceResponseTestTrait | trait | core/ |
Utility methods for handling resource responses. |
ResourceResponseTestTrait.php | file | core/ |
Pagination
- Previous page
- Page 32
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.