Search for source
- Search 7.x for source
- Search 9.5.x for source
- Search 8.9.x for source
- Search 11.x for source
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
ResourceFetcherTest::testFetchTimeout | function | core/ |
Tests that resources are fetched with a hard-coded timeout. |
ResourceFetcherTest::testUnknownContentTypeHeader | function | core/ |
Tests how the resource fetcher handles unknown Content-Type headers. |
ResourceIdentifier | class | core/ |
Represents a JSON:API resource identifier object. |
ResourceIdentifier.php | file | core/ |
|
ResourceIdentifier::$id | property | core/ |
The resource ID. |
ResourceIdentifier::$meta | property | core/ |
The relationship's metadata. |
ResourceIdentifier::$resourceType | property | core/ |
The JSON:API resource type. |
ResourceIdentifier::$resourceTypeName | property | core/ |
The JSON:API resource type name. |
ResourceIdentifier::areResourceIdentifiersUnique | function | core/ |
Determines if an array of ResourceIdentifier objects is duplicate free. |
ResourceIdentifier::ARITY_KEY | constant | core/ |
|
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::hasCacheableSupportsMethod | 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 |
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.