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 |
---|---|---|---|
ResourceIdentifier::compare | function | core/ |
Compares ResourceIdentifier objects. |
ResourceIdentifier::deduplicate | function | core/ |
Deduplicates an array of ResourceIdentifier objects. |
ResourceIdentifier::fromEntity | function | core/ |
Creates a ResourceIdentifier object. |
ResourceIdentifier::getArity | function | core/ |
Gets the ResourceIdentifier's arity. |
ResourceIdentifier::getDataReferencePropertyName | function | core/ |
Helper method to determine which field item property contains an entity. |
ResourceIdentifier::getId | function | core/ |
Gets the ResourceIdentifier's ID. |
ResourceIdentifier::getMeta | function | core/ |
Gets the resource identifier objects metadata. |
ResourceIdentifier::getResourceType | function | core/ |
Gets the resource identifier's JSON:API resource type. |
ResourceIdentifier::getTypeName | function | core/ |
Gets the ResourceIdentifier's JSON:API resource type name. |
ResourceIdentifier::getVirtualOrMissingResourceIdentifier | function | core/ |
Creates a ResourceIdentifier for a NULL or FALSE entity reference item. |
ResourceIdentifier::hasArity | function | core/ |
Whether this ResourceIdentifier has an arity. |
ResourceIdentifier::isDuplicate | function | core/ |
Determines if two ResourceIdentifiers are the same. |
ResourceIdentifier::isParallel | function | core/ |
Determines if two ResourceIdentifiers identify the same resource object. |
ResourceIdentifier::toResourceIdentifier | function | core/ |
Creates a ResourceIdentifier object. |
ResourceIdentifier::toResourceIdentifiers | function | core/ |
Creates an array of ResourceIdentifier objects. |
ResourceIdentifier::toResourceIdentifiersWithArityRequired | function | core/ |
Creates an array of ResourceIdentifier objects with arity on every value. |
ResourceIdentifier::withArity | function | core/ |
Returns a copy of the given ResourceIdentifier with the given arity. |
ResourceIdentifier::__construct | function | core/ |
ResourceIdentifier constructor. |
ResourceIdentifierInterface | interface | core/ |
An interface for identifying a related resource. |
ResourceIdentifierInterface.php | file | core/ |
|
ResourceIdentifierInterface::getId | function | core/ |
Gets the resource identifier's ID. |
ResourceIdentifierInterface::getResourceType | function | core/ |
Gets the resource identifier's JSON:API resource type. |
ResourceIdentifierInterface::getTypeName | function | core/ |
Gets the resource identifier's JSON:API resource type name. |
ResourceIdentifierNormalizer | class | core/ |
Normalizes a Relationship according to the JSON:API specification. |
ResourceIdentifierNormalizer.php | file | core/ |
|
ResourceIdentifierNormalizer::$fieldManager | property | core/ |
The entity field manager. |
ResourceIdentifierNormalizer::denormalize | function | core/ |
|
ResourceIdentifierNormalizer::getSupportedTypes | function | core/ |
|
ResourceIdentifierNormalizer::massageRelationshipInput | function | core/ |
Validates and massages the relationship input depending on the cardinality. |
ResourceIdentifierNormalizer::normalize | function | core/ |
|
ResourceIdentifierNormalizer::__construct | function | core/ |
RelationshipNormalizer constructor. |
ResourceIdentifierNormalizerTest | class | core/ |
@coversDefaultClass \Drupal\jsonapi\Normalizer\ResourceIdentifierNormalizer @group jsonapi |
ResourceIdentifierNormalizerTest.php | file | core/ |
|
ResourceIdentifierNormalizerTest::$normalizer | property | core/ |
The normalizer under test. |
ResourceIdentifierNormalizerTest::$resourceType | property | core/ |
The base resource type for testing. |
ResourceIdentifierNormalizerTest::denormalizeInvalidResourceProvider | function | core/ |
Data provider for the denormalize test. |
ResourceIdentifierNormalizerTest::denormalizeProvider | function | core/ |
Data provider for the denormalize test. |
ResourceIdentifierNormalizerTest::setUp | function | core/ |
|
ResourceIdentifierNormalizerTest::testDenormalize | function | core/ |
@covers ::denormalize @dataProvider denormalizeProvider |
ResourceIdentifierNormalizerTest::testDenormalizeInvalidResource | function | core/ |
@covers ::denormalize @dataProvider denormalizeInvalidResourceProvider |
ResourceIdentifierTrait | trait | core/ |
Used to associate an object like an exception to a particular resource. |
ResourceIdentifierTrait.php | file | core/ |
|
ResourceIdentifierTrait::$resourceIdentifier | property | core/ |
A ResourceIdentifier object. |
ResourceIdentifierTrait::$resourceType | property | core/ |
The JSON:API resource type of the identified resource object. |
ResourceIdentifierTrait::getId | function | core/ |
|
ResourceIdentifierTrait::getResourceType | function | core/ |
|
ResourceIdentifierTrait::getTypeName | function | core/ |
|
ResourceInterface | interface | core/ |
Specifies the publicly available methods of a resource plugin. |
ResourceInterface.php | file | core/ |
|
ResourceInterface::availableMethods | function | core/ |
Returns the available HTTP request methods on this plugin. |
Pagination
- Previous page
- Page 29
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.