Search for source

  1. Search 7.x for source
  2. Search 9.5.x for source
  3. Search 8.9.x for source
  4. Search 11.x for source
  5. Other projects
Title Object type File name Summary
ResourceTestBase::$anonymousUsersCanViewLabels property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Whether anonymous users can view labels of this resource type.
ResourceTestBase::$anotherEntity property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Another entity of the same type used for testing.
ResourceTestBase::$auth property core/modules/rest/tests/src/Functional/ResourceTestBase.php The authentication mechanism to use in this test.
ResourceTestBase::$entity property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php The entity being tested.
ResourceTestBase::$entityStorage property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php The entity storage.
ResourceTestBase::$entityTypeId property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php The tested entity type.
ResourceTestBase::$firstCreatedEntityId property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php The entity ID for the first created entity in testPost().
ResourceTestBase::$format property core/modules/rest/tests/src/Functional/ResourceTestBase.php The format to use in this test.
ResourceTestBase::$jsonApiMember property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php The standard `jsonapi` top-level document member.
ResourceTestBase::$labelFieldName property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Specify which field is the 'label' field for testing a POST edge case.
ResourceTestBase::$mimeType property core/modules/rest/tests/src/Functional/ResourceTestBase.php The MIME type that corresponds to $format.
ResourceTestBase::$modules property core/modules/rest/tests/src/Functional/ResourceTestBase.php Modules to install.
ResourceTestBase::$modules property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Modules to install.
ResourceTestBase::$newRevisionsShouldBeAutomatic property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Whether new revisions of updated entities should be created by default.
ResourceTestBase::$patchProtectedFieldNames property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php The fields that are protected against modification during PATCH requests.
ResourceTestBase::$resourceConfigId property core/modules/rest/tests/src/Functional/ResourceTestBase.php The REST Resource Config entity ID under test (i.e. a resource type).
ResourceTestBase::$resourceConfigStorage property core/modules/rest/tests/src/Functional/ResourceTestBase.php The REST resource config entity storage.
ResourceTestBase::$resourceType property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php The JSON:API resource type for the tested entity type plus bundle.
ResourceTestBase::$resourceTypeIsVersionable property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Whether the tested JSON:API resource is versionable.
ResourceTestBase::$resourceTypeName property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php The name of the tested JSON:API resource type.
ResourceTestBase::$secondCreatedEntityId property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php The entity ID for the second created entity in testPost().
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::alterExpectedDocumentForRevision function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Alters the expected JSON:API document for revisions.
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::doTestDeleteIndividual function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Tests DELETEing an individual resource, plus edge cases to ensure good DX.
ResourceTestBase::doTestIncluded function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Tests included resources.
ResourceTestBase::doTestPatchIndividual function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Tests PATCHing an individual resource, plus edge cases to ensure good DX.
ResourceTestBase::doTestPostIndividual function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Tests POSTing an individual resource, plus edge cases to ensure good DX.
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.

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