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 |
---|---|---|---|
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::$supportedInterfaceOrClass | property | core/ |
The interface or class that this Normalizer supports. |
ResourceIdentifierNormalizer::denormalize | 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 |
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. |
ResourceInterface::permissions | function | core/ |
Provides an array of permissions suitable for .permissions.yml files. |
ResourceInterface::routes | function | core/ |
Returns a collection of routes with URL path information for the resource. |
ResourceObject | class | core/ |
Represents a JSON:API resource object. |
ResourceObject.php | file | core/ |
|
ResourceObject::$fields | property | core/ |
The object's fields. |
ResourceObject::$language | property | core/ |
The resource language. |
ResourceObject::$links | property | core/ |
The resource object's links. |
ResourceObject::$versionIdentifier | property | core/ |
The resource object's version identifier. |
ResourceObject::buildLinksFromEntity | function | core/ |
Builds a LinkCollection for the given entity. |
Pagination
- Previous page
- Page 30
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.