Search for source
- Search 7.x for source
- Search 8.9.x for source
- Search 10.3.x for source
- Search 11.x for source
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
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. |
ResourceTestBase::grantPermissionsToTestedRole | function | core/ |
Grants permissions to the authenticated role. |
ResourceTestBase::initAuthentication | function | core/ |
Initializes authentication. |
ResourceTestBase::isReferenceFieldDefinition | function | core/ |
Determines if a given field definition is a reference field. |
ResourceTestBase::makeNormalizationInvalid | function | core/ |
Makes the given JSON:API document invalid. |
ResourceTestBase::normalize | function | core/ |
Generates a JSON:API normalization for the given entity. |
ResourceTestBase::provisionResource | function | core/ |
Provisions the REST resource under test. |
ResourceTestBase::recursiveKSort | function | core/ |
Recursively sorts an array by key. |
ResourceTestBase::recursiveKsort | function | core/ |
Recursively sorts an array by key. |
ResourceTestBase::refreshTestStateAfterRestConfigChange | function | core/ |
Refreshes the state of the tester to be in sync with the testee. |
ResourceTestBase::removeResourceTypeFromDocument | function | core/ |
Makes the JSON:API document violate the spec by omitting the resource type. |
ResourceTestBase::request | function | core/ |
Performs a HTTP request. Wraps the Guzzle HTTP client. |
ResourceTestBase::revokePermissionsFromTestedRole | function | core/ |
Revokes permissions from the authenticated role. |
ResourceTestBase::setUp | function | core/ |
|
ResourceTestBase::setUp | function | core/ |
|
ResourceTestBase::setUpAuthorization | function | core/ |
Sets up the necessary authorization. |
ResourceTestBase::setUpAuthorization | function | core/ |
Sets up the necessary authorization. |
ResourceTestBase::setUpFields | function | core/ |
Sets up additional fields for testing. |
ResourceTestBase::setUpRevisionAuthorization | function | core/ |
Sets up the necessary authorization for handling revisions. |
ResourceTestBase::testCollection | function | core/ |
Tests GETting a collection of resources. |
ResourceTestBase::testDeleteIndividual | function | core/ |
Tests DELETEing an individual resource, plus edge cases to ensure good DX. |
ResourceTestBase::testGetIndividual | function | core/ |
Tests GETting an individual resource, plus edge cases to ensure good DX. |
ResourceTestBase::testPatchIndividual | function | core/ |
Tests PATCHing an individual resource, plus edge cases to ensure good DX. |
ResourceTestBase::testPostIndividual | function | core/ |
Tests POSTing an individual resource, plus edge cases to ensure good DX. |
ResourceTestBase::testRelated | function | core/ |
Tests GET of the related resource of an individual resource. |
ResourceTestBase::testRelationships | function | core/ |
Tests CRUD of individual resource relationship data. |
ResourceTestBase::testRevisions | function | core/ |
Tests individual and collection revisions. |
ResourceType | class | core/ |
Value object containing all metadata for a JSON:API resource type. |
ResourceType.php | file | core/ |
|
ResourceType::$bundle | property | core/ |
The bundle ID. |
ResourceType::$deserializationTargetClass | property | core/ |
The class to which a payload converts to. |
ResourceType::$entityTypeId | property | core/ |
The entity type ID. |
ResourceType::$fieldMapping | property | core/ |
The mapping for field aliases: keys=public names, values=internal names. |
ResourceType::$fields | property | core/ |
The list of fields on the underlying entity type + bundle. |
ResourceType::$internal | property | core/ |
Whether this resource type is internal. |
ResourceType::$isLocatable | property | core/ |
Whether this resource type's resources are locatable. |
ResourceType::$isMutable | property | core/ |
Whether this resource type's resources are mutable. |
ResourceType::$isVersionable | property | core/ |
Whether this resource type's resources are versionable. |
ResourceType::$relatableResourceTypesByField | property | core/ |
An array of arrays of relatable resource types, keyed by public field name. |
ResourceType::$typeName | property | core/ |
The type name. |
ResourceType::getBundle | function | core/ |
Gets the bundle. |
ResourceType::getDeserializationTargetClass | function | core/ |
Gets the deserialization target class. |
ResourceType::getEntityTypeId | function | core/ |
Gets the entity type ID. |
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.