Search for source
- Search 7.x for source
- Search 9.5.x for source
- Search 8.9.x for source
- Search 10.3.x for source
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
ResourceTestBase::assertSameDocument | function | core/ |
Asserts that an expected document matches the response body. |
ResourceTestBase::createAnotherEntity | function | core/ |
Creates another entity to be tested. |
ResourceTestBase::createEntity | function | core/ |
Creates the entity to be tested. |
ResourceTestBase::decorateExpectedResponseForIncludedFields | function | core/ |
Decorates the expected response with included data and cache metadata. |
ResourceTestBase::decorateResourceIdentifierWithDrupalInternalTargetId | function | core/ |
Adds drupal_internal__target_id to the meta of a resource identifier. |
ResourceTestBase::doTestDeleteIndividual | function | core/ |
Tests DELETEing an individual resource, plus edge cases to ensure good DX. |
ResourceTestBase::doTestIncluded | function | core/ |
Tests included resources. |
ResourceTestBase::doTestPatchIndividual | function | core/ |
Tests PATCHing an individual resource, plus edge cases to ensure good DX. |
ResourceTestBase::doTestPostIndividual | function | core/ |
Tests POSTing an individual resource, plus edge cases to ensure good DX. |
ResourceTestBase::doTestRelated | function | core/ |
Performs one round of related route testing. |
ResourceTestBase::doTestRelationshipGet | function | core/ |
Performs one round of relationship route testing. |
ResourceTestBase::doTestRelationshipMutation | function | core/ |
Performs one round of relationship POST, PATCH and DELETE route testing. |
ResourceTestBase::doTestSparseFieldSets | function | core/ |
Tests sparse field sets. |
ResourceTestBase::entityAccess | function | core/ |
Checks access for the given operation on the given entity. |
ResourceTestBase::entityFieldAccess | function | core/ |
Checks access for the given field operation on the given entity. |
ResourceTestBase::entityLoadUnchanged | function | core/ |
Loads an entity in the test container, ignoring the static cache. |
ResourceTestBase::generateDynamicPageCacheExpectedHeaderValue | function | core/ |
Generates an X-Drupal-Dynamic-Cache header value based on cacheability. |
ResourceTestBase::getAuthenticationRequestOptions | function | core/ |
Returns Guzzle request options for authentication. |
ResourceTestBase::getAuthenticationRequestOptions | function | core/ |
Returns Guzzle request options for authentication. |
ResourceTestBase::getData | function | core/ |
Sets up a collection of entities of the same type for testing. |
ResourceTestBase::getEditorialPermissions | function | core/ |
Gets an array of permissions required to view and update any tested entity. |
ResourceTestBase::getEntityDuplicate | function | core/ |
|
ResourceTestBase::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
ResourceTestBase::getExpectedCacheTags | function | core/ |
The expected cache tags for the GET/HEAD response of the test entity. |
ResourceTestBase::getExpectedCollectionCacheability | function | core/ |
Computes the cacheability for a given entity collection. |
ResourceTestBase::getExpectedCollectionResponse | function | core/ |
Returns a JSON:API collection document for the expected entities. |
ResourceTestBase::getExpectedDocument | function | core/ |
Returns the expected JSON:API document for the entity. |
ResourceTestBase::getExpectedGetIndividualResourceResponse | function | core/ |
Gets the expected individual ResourceResponse for GET. |
ResourceTestBase::getExpectedGetRelationshipDocument | function | core/ |
Gets an expected document for the given relationship. |
ResourceTestBase::getExpectedGetRelationshipDocumentData | function | core/ |
Gets the expected document data for the given relationship. |
ResourceTestBase::getExpectedGetRelationshipResponse | function | core/ |
Gets an expected ResourceResponse for the given relationship. |
ResourceTestBase::getExpectedRelatedResponse | function | core/ |
Builds an expected related ResourceResponse for the given field. |
ResourceTestBase::getExpectedRelatedResponses | function | core/ |
Builds an array of expected related ResourceResponses, keyed by field name. |
ResourceTestBase::getExpectedUnauthorizedAccessCacheability | function | core/ |
Returns the expected cacheability for an unauthorized response. |
ResourceTestBase::getExpectedUnauthorizedAccessCacheability | function | core/ |
Returns the expected cacheability of an unauthorized access response. |
ResourceTestBase::getExpectedUnauthorizedAccessMessage | function | core/ |
Return the expected error message. |
ResourceTestBase::getExpectedUnauthorizedAccessMessage | function | core/ |
Return the expected error message. |
ResourceTestBase::getExtraRevisionCacheTags | function | core/ |
The expected cache tags when checking revision responses. |
ResourceTestBase::getIncludePermissions | function | core/ |
Authorize the user under test with additional permissions to view includes. |
ResourceTestBase::getModifiedEntityForPatchTesting | function | core/ |
Clones the given entity and modifies all PATCH-protected fields. |
ResourceTestBase::getModifiedEntityForPostTesting | function | core/ |
Gets the normalized POST entity with random values for its unique fields. |
ResourceTestBase::getNestedIncludePaths | function | core/ |
Gets an array of all nested include paths to be tested. |
ResourceTestBase::getPatchDocument | function | core/ |
Returns the JSON:API PATCH document. |
ResourceTestBase::getPostDocument | function | core/ |
Returns the JSON:API POST document. |
ResourceTestBase::getRelationshipFieldNames | function | core/ |
Gets a list of public relationship names for the resource type under test. |
ResourceTestBase::getSparseFieldSets | function | core/ |
Returns an array of sparse fields sets to test. |
ResourceTestBase::grantIncludedPermissions | function | core/ |
Grants authorization to view includes. |
ResourceTestBase::grantPermissionsToAnonymousRole | function | core/ |
Grants permissions to the anonymous role. |
ResourceTestBase::grantPermissionsToAuthenticatedRole | function | core/ |
Grants permissions to the authenticated role. |
ResourceTestBase::grantPermissionsToTestedRole | function | core/ |
Grants permissions to the tested role: anonymous or authenticated. |
Pagination
- Previous page
- Page 36
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.