Search for source

  1. Search 7.x for source
  2. Search 8.9.x for source
  3. Search 10.3.x for source
  4. Search 11.x for source
  5. Other projects
Title Object type File name Summary
ResourceTestBase::$serializer property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php The serializer service.
ResourceTestBase::$serializer property core/modules/rest/tests/src/Functional/ResourceTestBase.php The serializer service.
ResourceTestBase::$uniqueFieldNames property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Fields that need unique values.
ResourceTestBase::$uuidKey property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php The UUID key.
ResourceTestBase::assertAuthenticationEdgeCases function core/modules/rest/tests/src/Functional/ResourceTestBase.php Asserts authentication provider-specific edge cases.
ResourceTestBase::assertNormalizationEdgeCases function core/modules/rest/tests/src/Functional/ResourceTestBase.php Asserts normalization-specific edge cases.
ResourceTestBase::assertResourceErrorResponse function core/modules/rest/tests/src/Functional/ResourceTestBase.php Asserts that a resource error response has the given message.
ResourceTestBase::assertResourceErrorResponse function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Asserts that a resource error response has the given message.
ResourceTestBase::assertResourceResponse function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Asserts that a resource response has the given status code and body.
ResourceTestBase::assertResourceResponse function core/modules/rest/tests/src/Functional/ResourceTestBase.php Asserts that a resource response has the given status code and body.
ResourceTestBase::assertResponseWhenMissingAuthentication function core/modules/rest/tests/src/Functional/ResourceTestBase.php Verifies the error response in case of missing authentication.
ResourceTestBase::assertSameDocument function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Asserts that an expected document matches the response body.
ResourceTestBase::createAnotherEntity function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Creates another entity to be tested.
ResourceTestBase::createEntity function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Creates the entity to be tested.
ResourceTestBase::decorateExpectedResponseForIncludedFields function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Decorates the expected response with included data and cache metadata.
ResourceTestBase::decorateResourceIdentifierWithDrupalInternalTargetId function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Adds drupal_internal__target_id to the meta of a resource identifier.
ResourceTestBase::decorateWithXdebugCookie function core/modules/rest/tests/src/Functional/ResourceTestBase.php Adds the Xdebug cookie to the request options.
ResourceTestBase::doTestIncluded function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Tests included resources.
ResourceTestBase::doTestRelated function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Performs one round of related route testing.
ResourceTestBase::doTestRelationshipGet function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Performs one round of relationship route testing.
ResourceTestBase::doTestRelationshipMutation function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Performs one round of relationship POST, PATCH and DELETE route testing.
ResourceTestBase::doTestSparseFieldSets function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Tests sparse field sets.
ResourceTestBase::entityAccess function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Checks access for the given operation on the given entity.
ResourceTestBase::entityFieldAccess function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Checks access for the given field operation on the given entity.
ResourceTestBase::entityLoadUnchanged function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Loads an entity in the test container, ignoring the static cache.
ResourceTestBase::getAuthenticationRequestOptions function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Returns Guzzle request options for authentication.
ResourceTestBase::getAuthenticationRequestOptions function core/modules/rest/tests/src/Functional/ResourceTestBase.php Returns Guzzle request options for authentication.
ResourceTestBase::getData function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Sets up a collection of entities of the same type for testing.
ResourceTestBase::getEditorialPermissions function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Gets an array of permissions required to view and update any tested entity.
ResourceTestBase::getEntityDuplicate function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php
ResourceTestBase::getExpectedCacheContexts function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php The expected cache contexts for the GET/HEAD response of the test entity.
ResourceTestBase::getExpectedCacheTags function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php The expected cache tags for the GET/HEAD response of the test entity.
ResourceTestBase::getExpectedCollectionCacheability function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Computes the cacheability for a given entity collection.
ResourceTestBase::getExpectedCollectionResponse function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Returns a JSON:API collection document for the expected entities.
ResourceTestBase::getExpectedDocument function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Returns the expected JSON:API document for the entity.
ResourceTestBase::getExpectedGetIndividualResourceResponse function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Gets the expected individual ResourceResponse for GET.
ResourceTestBase::getExpectedGetRelationshipDocument function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Gets an expected document for the given relationship.
ResourceTestBase::getExpectedGetRelationshipDocumentData function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Gets the expected document data for the given relationship.
ResourceTestBase::getExpectedGetRelationshipResponse function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Gets an expected ResourceResponse for the given relationship.
ResourceTestBase::getExpectedRelatedResponse function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Builds an expected related ResourceResponse for the given field.
ResourceTestBase::getExpectedRelatedResponses function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Builds an array of expected related ResourceResponses, keyed by field name.
ResourceTestBase::getExpectedUnauthorizedAccessCacheability function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Returns the expected cacheability for an unauthorized response.
ResourceTestBase::getExpectedUnauthorizedAccessCacheability function core/modules/rest/tests/src/Functional/ResourceTestBase.php Returns the expected cacheability of an unauthorized access response.
ResourceTestBase::getExpectedUnauthorizedAccessMessage function core/modules/rest/tests/src/Functional/ResourceTestBase.php Return the expected error message.
ResourceTestBase::getExpectedUnauthorizedAccessMessage function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Return the expected error message.
ResourceTestBase::getExtraRevisionCacheTags function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php The expected cache tags when checking revision responses.
ResourceTestBase::getIncludePermissions function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Authorize the user under test with additional permissions to view includes.
ResourceTestBase::getModifiedEntityForPatchTesting function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Clones the given entity and modifies all PATCH-protected fields.
ResourceTestBase::getModifiedEntityForPostTesting function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Gets the normalized POST entity with random values for its unique fields.
ResourceTestBase::getNestedIncludePaths function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Gets an array of all nested include paths to be tested.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.