Search for source
- Search 7.x for source
- Search 9.5.x for source
- Search 10.3.x for source
- Search 11.x for source
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| EntityResourceTestBase::testGet | function | core/ |
Test a GET request for an entity, plus edge cases to ensure good DX. |
| EntityResourceTestBase::testPatch | function | core/ |
Tests a PATCH request for an entity, plus edge cases to ensure good DX. |
| EntityResourceTestBase::testPost | function | core/ |
Tests a POST request for an entity, plus edge cases to ensure good DX. |
| EntityResourceValidationTrait | trait | core/ |
@internal @todo Consider making public in https://www.drupal.org/node/2300677 |
| EntityResourceValidationTrait.php | file | core/ |
|
| EntityResourceValidationTrait::validate | function | core/ |
Verifies that an entity does not violate any validation constraints. |
| EntityResourceValidationTraitTest | class | core/ |
@group rest @coversDefaultClass \Drupal\rest\Plugin\rest\resource\EntityResourceValidationTrait[[api-linebreak]] |
| EntityResourceValidationTraitTest.php | file | core/ |
|
| EntityResourceValidationTraitTest::testFailedValidate | function | core/ |
@covers ::validate[[api-linebreak]] |
| EntityResourceValidationTraitTest::testValidate | function | core/ |
@covers ::validate[[api-linebreak]] |
| EntityResourceValidationTraitTestClass | class | core/ |
A test class to use to test EntityResourceValidationTrait. |
| EntityTestBundleResourceTestBase | class | core/ |
|
| EntityTestBundleResourceTestBase | class | core/ |
|
| EntityTestBundleResourceTestBase.php | file | core/ |
|
| EntityTestBundleResourceTestBase.php | file | core/ |
|
| EntityTestBundleResourceTestBase::$entity | property | core/ |
|
| EntityTestBundleResourceTestBase::$entityTypeId | property | core/ |
The tested entity type. |
| EntityTestBundleResourceTestBase::$modules | property | core/ |
Modules to install. |
| EntityTestBundleResourceTestBase::$patchProtectedFieldNames | property | core/ |
The fields that are protected against modification during PATCH requests. |
| EntityTestBundleResourceTestBase::createEntity | function | core/ |
Creates the entity to be tested. |
| EntityTestBundleResourceTestBase::getExpectedNormalizedEntity | function | core/ |
Returns the expected normalization of the entity. |
| EntityTestBundleResourceTestBase::getNormalizedPostEntity | function | core/ |
Returns the normalized POST entity. |
| EntityTestBundleResourceTestBase::setUpAuthorization | function | core/ |
Sets up the necessary authorization. |
| EntityTestLabelResourceTestBase | class | core/ |
|
| EntityTestLabelResourceTestBase | class | core/ |
|
| EntityTestLabelResourceTestBase.php | file | core/ |
|
| EntityTestLabelResourceTestBase.php | file | core/ |
|
| EntityTestLabelResourceTestBase::$entity | property | core/ |
|
| EntityTestLabelResourceTestBase::$entityTypeId | property | core/ |
The tested entity type. |
| EntityTestLabelResourceTestBase::$modules | property | core/ |
Modules to install. |
| EntityTestLabelResourceTestBase::$patchProtectedFieldNames | property | core/ |
The fields that are protected against modification during PATCH requests. |
| EntityTestLabelResourceTestBase::createEntity | function | core/ |
Creates the entity to be tested. |
| EntityTestLabelResourceTestBase::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
| EntityTestLabelResourceTestBase::getExpectedNormalizedEntity | function | core/ |
Returns the expected normalization of the entity. |
| EntityTestLabelResourceTestBase::getExpectedUnauthorizedAccessMessage | function | core/ |
Return the expected error message. |
| EntityTestLabelResourceTestBase::getNormalizedPostEntity | function | core/ |
Returns the normalized POST entity. |
| EntityTestLabelResourceTestBase::setUpAuthorization | function | core/ |
Sets up the necessary authorization. |
| EntityTestMapFieldResourceTestBase | class | core/ |
|
| EntityTestMapFieldResourceTestBase.php | file | core/ |
|
| EntityTestMapFieldResourceTestBase::$entity | property | core/ |
|
| EntityTestMapFieldResourceTestBase::$entityTypeId | property | core/ |
The tested entity type. |
| EntityTestMapFieldResourceTestBase::$mapValue | property | core/ |
The complex nested value to assign to a @FieldType=map field. |
| EntityTestMapFieldResourceTestBase::$modules | property | core/ |
Modules to install. |
| EntityTestMapFieldResourceTestBase::$patchProtectedFieldNames | property | core/ |
The fields that are protected against modification during PATCH requests. |
| EntityTestMapFieldResourceTestBase::createEntity | function | core/ |
Creates the entity to be tested. |
| EntityTestMapFieldResourceTestBase::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
| EntityTestMapFieldResourceTestBase::getExpectedNormalizedEntity | function | core/ |
Returns the expected normalization of the entity. |
| EntityTestMapFieldResourceTestBase::getExpectedUnauthorizedAccessMessage | function | core/ |
Return the expected error message. |
| EntityTestMapFieldResourceTestBase::getNormalizedPostEntity | function | core/ |
Returns the normalized POST entity. |
| EntityTestMapFieldResourceTestBase::setUpAuthorization | function | core/ |
Sets up the necessary authorization. |
Pagination
- Previous page
- Page 11
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.