Search for source

  1. Search 7.x for source
  2. Search 9.5.x for source
  3. Search 10.3.x for source
  4. Search 11.x for source
  5. Other projects
Title Object type File name Summary
ResourceIdentifierNormalizer::__construct function core/modules/jsonapi/src/Normalizer/ResourceIdentifierNormalizer.php RelationshipNormalizer constructor.
ResourceIdentifierNormalizerTest class core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php @coversDefaultClass \Drupal\jsonapi\Normalizer\ResourceIdentifierNormalizer
@group jsonapi
ResourceIdentifierNormalizerTest.php file core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php
ResourceIdentifierNormalizerTest::$normalizer property core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php The normalizer under test.
ResourceIdentifierNormalizerTest::$resourceType property core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php The base resource type for testing.
ResourceIdentifierNormalizerTest::denormalizeInvalidResourceProvider function core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php Data provider for the denormalize test.
ResourceIdentifierNormalizerTest::denormalizeProvider function core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php Data provider for the denormalize test.
ResourceIdentifierNormalizerTest::setUp function core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php
ResourceIdentifierNormalizerTest::testDenormalize function core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php @covers ::denormalize
@dataProvider denormalizeProvider
ResourceIdentifierNormalizerTest::testDenormalizeInvalidResource function core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php @covers ::denormalize
@dataProvider denormalizeInvalidResourceProvider
ResourceIdentifierTrait trait core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierTrait.php Used to associate an object like an exception to a particular resource.
ResourceIdentifierTrait.php file core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierTrait.php
ResourceIdentifierTrait::$resourceIdentifier property core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierTrait.php A ResourceIdentifier object.
ResourceIdentifierTrait::$resourceType property core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierTrait.php The JSON:API resource type of the identified resource object.
ResourceIdentifierTrait::getId function core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierTrait.php
ResourceIdentifierTrait::getResourceType function core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierTrait.php
ResourceIdentifierTrait::getTypeName function core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierTrait.php
ResourceInterface interface core/modules/rest/src/Plugin/ResourceInterface.php Specifies the publicly available methods of a resource plugin.
ResourceInterface.php file core/modules/rest/src/Plugin/ResourceInterface.php
ResourceInterface::availableMethods function core/modules/rest/src/Plugin/ResourceInterface.php Returns the available HTTP request methods on this plugin.
ResourceInterface::permissions function core/modules/rest/src/Plugin/ResourceInterface.php Provides an array of permissions suitable for .permissions.yml files.
ResourceInterface::routes function core/modules/rest/src/Plugin/ResourceInterface.php Returns a collection of routes with URL path information for the resource.
ResourceObject class core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Represents a JSON:API resource object.
ResourceObject.php file core/modules/jsonapi/src/JsonApiResource/ResourceObject.php
ResourceObject::$fields property core/modules/jsonapi/src/JsonApiResource/ResourceObject.php The object's fields.
ResourceObject::$links property core/modules/jsonapi/src/JsonApiResource/ResourceObject.php The resource object's links.
ResourceObject::$versionIdentifier property core/modules/jsonapi/src/JsonApiResource/ResourceObject.php The resource object's version identifier.
ResourceObject::buildLinksFromEntity function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Builds a LinkCollection for the given entity.
ResourceObject::createFromEntity function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Creates a new ResourceObject from an entity.
ResourceObject::extractConfigEntityFields function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Extracts a config entity's fields.
ResourceObject::extractContentEntityFields function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Extracts a content entity's fields.
ResourceObject::extractFieldsFromEntity function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Extracts the entity's fields.
ResourceObject::getField function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Gets the given field.
ResourceObject::getFields function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Gets the ResourceObject's fields.
ResourceObject::getLabelFieldName function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Determines the entity type's (internal) label field name.
ResourceObject::getLinks function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Gets the ResourceObject's links.
ResourceObject::getVersionIdentifier function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Gets a version identifier for the ResourceObject.
ResourceObject::hasField function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Whether the resource object has the given field.
ResourceObject::toUrl function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Gets a Url for the ResourceObject.
ResourceObject::__construct function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php ResourceObject constructor.
ResourceObjectData class core/modules/jsonapi/src/JsonApiResource/ResourceObjectData.php Represents the primary data for individual and collection documents.
ResourceObjectData.php file core/modules/jsonapi/src/JsonApiResource/ResourceObjectData.php
ResourceObjectData::getAccessible function core/modules/jsonapi/src/JsonApiResource/ResourceObjectData.php Gets only data to be exposed.
ResourceObjectData::getData function core/modules/jsonapi/src/JsonApiResource/ResourceObjectData.php Returns the data for the top-level data member of a JSON:API document.
ResourceObjectData::getMergedLinks function core/modules/jsonapi/src/JsonApiResource/ResourceObjectData.php Merges the object's links with the top-level links.
ResourceObjectData::getMergedMeta function core/modules/jsonapi/src/JsonApiResource/ResourceObjectData.php Merges the object's meta member with the top-level meta member.
ResourceObjectData::getOmissions function core/modules/jsonapi/src/JsonApiResource/ResourceObjectData.php Gets only data to be omitted.
ResourceObjectData::__construct function core/modules/jsonapi/src/JsonApiResource/ResourceObjectData.php ResourceObjectData constructor.
ResourceObjectNormalizationCacher class core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php Caches entity normalizations after the response has been sent.
ResourceObjectNormalizationCacher.php file core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.