Search for source
- Search 7.x for source
- Search 9.5.x for source
- Search 10.3.x for source
- Search 11.x for source
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
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 GETing 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. |
ResourceType::getFieldByInternalName | function | core/ |
Gets a particular attribute or relationship field by internal field name. |
ResourceType::getFieldByPublicName | function | core/ |
Gets a particular attribute or relationship field by public field name. |
ResourceType::getFields | function | core/ |
Gets the attribute and relationship fields of this resource type. |
ResourceType::getInternalName | function | core/ |
Translates the public field name to the entity field name. |
ResourceType::getPath | function | core/ |
Get the resource path. |
ResourceType::getPublicName | function | core/ |
Translates the entity field name to the public field name. |
ResourceType::getRelatableResourceTypes | function | core/ |
Get all resource types with which this type may have a relationship. |
ResourceType::getRelatableResourceTypesByField | function | core/ |
Get all resource types with which the given field may have a relationship. |
ResourceType::getTypeName | function | core/ |
Gets the type name. |
ResourceType::hasField | function | core/ |
Checks if the field exists. |
ResourceType::includeCount | function | core/ |
Determine whether to include a collection count. |
ResourceType::isFieldEnabled | function | core/ |
Checks if a field is enabled or not. |
ResourceType::isInternal | function | core/ |
Whether this resource type is internal. |
ResourceType::isLocatable | function | core/ |
Whether resources of this resource type are locatable. |
ResourceType::isMutable | function | core/ |
Whether resources of this resource type are mutable. |
ResourceType::isVersionable | function | core/ |
Whether resources of this resource type are versionable. |
ResourceType::setRelatableResourceTypes | function | core/ |
Sets the relatable resource types. |
ResourceType::updateDeprecatedFieldMapping | function | core/ |
Takes a deprecated field mapping and converts it to ResourceTypeFields. |
ResourceType::__construct | function | core/ |
Instantiates a ResourceType object. |
ResourceType::__get | function | core/ |
|
ResourceTypeAttribute | class | core/ |
Specialization of a ResourceTypeField to represent a resource type attribute. |
ResourceTypeAttribute.php | file | core/ |
|
ResourceTypeBuildEvent | class | core/ |
An event used to configure the construction of a JSON:API resource type. |
ResourceTypeBuildEvent.php | file | core/ |
|
ResourceTypeBuildEvent::$disabled | property | core/ |
Whether the JSON:API resource type to be built should be disabled. |
Pagination
- Previous page
- Page 37
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.