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 |
---|---|---|---|
ResourceRoutes | class | core/ |
Subscriber for REST-style routes. |
ResourceRoutes.php | file | core/ |
|
ResourceRoutes::$logger | property | core/ |
A logger instance. |
ResourceRoutes::$manager | property | core/ |
The plugin manager for REST plugins. |
ResourceRoutes::$resourceConfigStorage | property | core/ |
The REST resource config storage. |
ResourceRoutes::getRoutesForResourceConfig | function | core/ |
Provides all routes for a given REST resource config. |
ResourceRoutes::getSubscribedEvents | function | core/ |
|
ResourceRoutes::onDynamicRouteEvent | function | core/ |
Alters existing routes for a specific collection. |
ResourceRoutes::__construct | function | core/ |
Constructs a RouteSubscriber object. |
ResourceTest | class | core/ |
@coversDefaultClass \Drupal\media\OEmbed\Resource @group media |
ResourceTest | class | core/ |
Tests the structure of a REST resource. |
ResourceTest.php | file | core/ |
|
ResourceTest.php | file | core/ |
|
ResourceTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
ResourceTest::$entity | property | core/ |
The entity. |
ResourceTest::$modules | property | core/ |
Modules to install. |
ResourceTest::setDimensionsTestCases | function | core/ |
Test cases for ::testSetDimensions. |
ResourceTest::setUp | function | core/ |
|
ResourceTest::testAuthentication | function | core/ |
Tests that a resource without authentication cannot be enabled. |
ResourceTest::testFormats | function | core/ |
Tests that a resource without formats cannot be enabled. |
ResourceTest::testSerializationClassIsOptional | function | core/ |
Tests that serialization_class is optional. |
ResourceTest::testSetDimensions | function | core/ |
@covers ::setDimensions @dataProvider setDimensionsTestCases |
ResourceTest::testUriPaths | function | core/ |
Tests that resource URI paths are formatted properly. |
ResourceTestBase | class | core/ |
Subclass this for every REST resource, every format and every auth provider. |
ResourceTestBase | class | core/ |
Subclass this for every JSON:API resource type. |
ResourceTestBase.php | file | core/ |
|
ResourceTestBase.php | file | core/ |
|
ResourceTestBase::$account | property | core/ |
The account to use for authentication, if any. |
ResourceTestBase::$account | property | core/ |
The account to use for authentication. |
ResourceTestBase::$anonymousUsersCanViewLabels | property | core/ |
Whether anonymous users can view labels of this resource type. |
ResourceTestBase::$anotherEntity | property | core/ |
Another entity of the same type used for testing. |
ResourceTestBase::$auth | property | core/ |
The authentication mechanism to use in this test. |
ResourceTestBase::$entity | property | core/ |
The entity being tested. |
ResourceTestBase::$entityStorage | property | core/ |
The entity storage. |
ResourceTestBase::$entityTypeId | property | core/ |
The tested entity type. |
ResourceTestBase::$firstCreatedEntityId | property | core/ |
The entity ID for the first created entity in testPost(). |
ResourceTestBase::$format | property | core/ |
The format to use in this test. |
ResourceTestBase::$jsonApiMember | property | core/ |
The standard `jsonapi` top-level document member. |
ResourceTestBase::$labelFieldName | property | core/ |
Specify which field is the 'label' field for testing a POST edge case. |
ResourceTestBase::$mimeType | property | core/ |
The MIME type that corresponds to $format. |
ResourceTestBase::$modules | property | core/ |
Modules to install. |
ResourceTestBase::$modules | property | core/ |
Modules to enable. |
ResourceTestBase::$newRevisionsShouldBeAutomatic | property | core/ |
Whether new revisions of updated entities should be created by default. |
ResourceTestBase::$patchProtectedFieldNames | property | core/ |
The fields that are protected against modification during PATCH requests. |
ResourceTestBase::$resourceConfigId | property | core/ |
The REST Resource Config entity ID under test (i.e. a resource type). |
ResourceTestBase::$resourceConfigStorage | property | core/ |
The REST resource config entity storage. |
ResourceTestBase::$resourceType | property | core/ |
The JSON:API resource type for the tested entity type plus bundle. |
ResourceTestBase::$resourceTypeIsVersionable | property | core/ |
Whether the tested JSON:API resource is versionable. |
ResourceTestBase::$resourceTypeName | property | core/ |
The name of the tested JSON:API resource type. |
ResourceTestBase::$secondCreatedEntityId | property | core/ |
The entity ID for the second created entity in testPost(). |
Pagination
- Previous page
- Page 34
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.