Search for all
- Search 7.x for all
- Search 9.5.x for all
- Search 8.9.x for all
- Search 10.3.x for all
- Search 11.x for all
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| EntityResourceTestBase::$secondCreatedEntityId | property | core/ |
The entity ID for the second created entity in doTestPost(). |
| EntityResourceTestBase::$uniqueFieldNames | property | core/ |
A list of fields that need a unique value. |
| EntityResourceTestBase::assert406Response | function | core/ |
Asserts a 406 response… or in some cases a 403 response, because weirdness. |
| EntityResourceTestBase::assertEntityArraySubset | function | core/ |
Recursively asserts that the expected items are set in the tested entity. |
| EntityResourceTestBase::assertNormalizationEdgeCases | function | core/ |
|
| EntityResourceTestBase::assertPatchProtectedFieldNamesStructure | function | core/ |
Asserts structure of $patchProtectedFieldNames. |
| EntityResourceTestBase::assertResourceNotAvailable | function | core/ |
Asserts that a resource is unavailable: 404, 406 if it has canonical route. |
| EntityResourceTestBase::assertStoredEntityMatchesSentNormalization | function | core/ |
Asserts that the stored entity matches the sent normalization. |
| EntityResourceTestBase::castToString | function | core/ |
Transforms a normalization: casts all non-string types to strings. |
| EntityResourceTestBase::createAnotherEntity | function | core/ |
Creates another entity to be tested. |
| EntityResourceTestBase::createEntity | function | core/ |
Creates the entity to be tested. |
| EntityResourceTestBase::doTestDelete | function | core/ |
Tests a DELETE request for an entity, plus edge cases to ensure good DX. |
| EntityResourceTestBase::doTestGet | function | core/ |
Tests a GET request for an entity, plus edge cases to ensure good DX. |
| EntityResourceTestBase::doTestPatch | function | core/ |
Tests a PATCH request for an entity, plus edge cases to ensure good DX. |
| EntityResourceTestBase::doTestPost | function | core/ |
Tests a POST request for an entity, plus edge cases to ensure good DX. |
| EntityResourceTestBase::getEntityResourcePostUrl | function | core/ |
Gets an entity resource's POST URL. |
| EntityResourceTestBase::getEntityResourceUrl | function | core/ |
Gets an entity resource's GET/PATCH/DELETE URL. |
| EntityResourceTestBase::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
| EntityResourceTestBase::getExpectedCacheTags | function | core/ |
The expected cache tags for the GET/HEAD response of the test entity. |
| EntityResourceTestBase::getExpectedNormalizedEntity | function | core/ |
Returns the expected normalization of the entity. |
| EntityResourceTestBase::getExpectedUnauthorizedAccessCacheability | function | core/ |
|
| EntityResourceTestBase::getExpectedUnauthorizedAccessMessage | function | core/ |
|
| EntityResourceTestBase::getExpectedUnauthorizedEntityAccessCacheability | function | core/ |
The cacheability of unauthorized 'view' entity access. |
| EntityResourceTestBase::getModifiedEntityForPatchTesting | function | core/ |
Clones the given entity and modifies all PATCH-protected fields. |
| EntityResourceTestBase::getModifiedEntityForPostTesting | function | core/ |
Gets the normalized POST entity with random values for its unique fields. |
| EntityResourceTestBase::getNormalizedPatchEntity | function | core/ |
Returns the normalized PATCH entity. |
| EntityResourceTestBase::getNormalizedPostEntity | function | core/ |
Returns the normalized POST entity. |
| EntityResourceTestBase::makeNormalizationInvalid | function | core/ |
Makes the given entity normalization invalid. |
| EntityResourceTestBase::provisionEntityResource | function | core/ |
Provides an entity resource. |
| EntityResourceTestBase::revokeAllPermissions | function | core/ |
Revokes all permissions from anonymous and authenticated roles. |
| EntityResourceTestBase::setUp | function | core/ |
|
| EntityResourceTestBase::testCrud | function | core/ |
Tests all CRUD operations in a single test method. |
| 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/ |
Tests Drupal\rest\Plugin\rest\resource\EntityResourceValidationTrait. |
| EntityResourceValidationTraitTest.php | file | core/ |
|
| EntityResourceValidationTraitTest::testFailedValidate | function | core/ |
Tests failed validate. |
| EntityResourceValidationTraitTest::testValidate | function | core/ |
Tests validate. |
| EntityResourceValidationTraitTestClass | class | core/ |
A test class to use to test EntityResourceValidationTrait. |
| EntityReverse | class | core/ |
A relationship handlers which reverse entity references. |
| EntityReverse.php | file | core/ |
|
| EntityReverse::$first_alias | property | core/ |
The alias for the left table. |
| EntityReverse::$joinManager | property | core/ |
The views plugin join manager. |
| EntityReverse::query | function | core/ |
Called to implement a relationship in a query. |
| EntityReverse::__construct | function | core/ |
Constructs an EntityReverse object. |
| EntityReverseJoinTest | class | core/ |
Tests the EntityReverse join plugin. |
| EntityReverseJoinTest.php | file | core/ |
|
| EntityReverseJoinTest::$testViews | property | core/ |
|
| EntityReverseJoinTest::testJoinThroughRelationship | function | core/ |
Tests that the EntityReverse plugin loads the correct join plugin. |
Pagination
- Previous page
- Page 545
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.