You are here

Classes, traits, and interfaces in JSON:API 8

Primary tabs

Namesort descending Type Namespace Location Description Direct uses Use statements Strings
MediaTypeTest class Drupal\Tests\jsonapi\Functional tests/src/Functional/MediaTypeTest.php JSON API integration test for the "MediaType" config entity type.
MenuLinkContentTest class Drupal\Tests\jsonapi\Functional tests/src/Functional/MenuLinkContentTest.php JSON API integration test for the "MenuLinkContent" content entity type.
MenuTest class Drupal\Tests\jsonapi\Functional tests/src/Functional/MenuTest.php JSON API integration test for the "Menu" config entity type.
MessageTest class Drupal\Tests\jsonapi\Functional tests/src/Functional/MessageTest.php JSON API integration test for the "Message" content entity type.
NodeTest class Drupal\Tests\jsonapi\Functional tests/src/Functional/NodeTest.php JSON API integration test for the "Node" content entity type.
NodeTypeTest class Drupal\Tests\jsonapi\Functional tests/src/Functional/NodeTypeTest.php JSON API integration test for the "NodeType" config entity type.
NormalizerBase abstract class Drupal\jsonapi\Normalizer src/Normalizer/NormalizerBase.php Base normalizer used in all JSON API normalizers. 6
NullFieldNormalizerValue class Drupal\jsonapi\Normalizer\Value src/Normalizer/Value/NullFieldNormalizerValue.php Normalizes null fields in accordance with the JSON API specification. 3
OffsetPage class Drupal\jsonapi\Query src/Query/OffsetPage.php Value object for containing the requested offset and page parameters. 9
OffsetPageNormalizer class Drupal\jsonapi\Normalizer src/Normalizer/OffsetPageNormalizer.php The normalizer used for JSON API pagination. 2
OffsetPageNormalizerTest class Drupal\Tests\jsonapi\Kernel\Normalizer tests/src/Kernel/Normalizer/OffsetPageNormalizerTest.php @coversDefaultClass \Drupal\jsonapi\Normalizer\OffsetPageNormalizer @group jsonapi @group jsonapi_normalizers @group legacy
RdfMappingTest class Drupal\Tests\jsonapi\Functional tests/src/Functional/RdfMappingTest.php JSON API integration test for the "RdfMapping" config entity type.
RegisterSerializationClassesCompilerPass class Drupal\jsonapi\DependencyInjection\Compiler src/DependencyInjection/Compiler/RegisterSerializationClassesCompilerPass.php Adds services tagged JSON API-only normalizers to the Serializer. 1
RelatedResourceTypesTest class Drupal\Tests\jsonapi\Kernel\ResourceType tests/src/Kernel/ResourceType/RelatedResourceTypesTest.php @coversDefaultClass \Drupal\jsonapi\ResourceType\ResourceType @coversClass \Drupal\jsonapi\ResourceType\ResourceTypeRepository @group jsonapi
Relationship class Drupal\jsonapi\Normalizer src/Normalizer/Relationship.php Represents a relationship between resources.
RelationshipItem class Drupal\jsonapi\Normalizer src/Normalizer/RelationshipItem.php Value object representing a JSON API relationship item.
RelationshipItemNormalizer class Drupal\jsonapi\Normalizer src/Normalizer/RelationshipItemNormalizer.php Converts the Drupal entity reference item object to a JSON API structure. 2
RelationshipItemNormalizerValue class Drupal\jsonapi\Normalizer\Value src/Normalizer/Value/RelationshipItemNormalizerValue.php Helps normalize relationship items in compliance with the JSON API spec. 4
RelationshipItemNormalizerValueTest class Drupal\Tests\jsonapi\Unit\Normalizer\Value tests/src/Unit/Normalizer/Value/RelationshipItemNormalizerValueTest.php @coversDefaultClass \Drupal\jsonapi\Normalizer\Value\RelationshipItemNormalizerValue @group jsonapi
RelationshipNormalizer class Drupal\jsonapi\Normalizer src/Normalizer/RelationshipNormalizer.php Normalizes a Relationship according to the JSON API specification. 2
RelationshipNormalizerValue class Drupal\jsonapi\Normalizer\Value src/Normalizer/Value/RelationshipNormalizerValue.php Helps normalize relationships in compliance with the JSON API spec. 4
RelationshipNormalizerValueTest class Drupal\Tests\jsonapi\Unit\Normalizer\Value tests/src/Unit/Normalizer/Value/RelationshipNormalizerValueTest.php @coversDefaultClass \Drupal\jsonapi\Normalizer\Value\RelationshipNormalizerValue @group jsonapi
RemoveJsonapiFormatCompilerPass class Drupal\jsonapi\DependencyInjection\Compiler src/DependencyInjection/Compiler/RemoveJsonapiFormatCompilerPass.php Removes 'api_json' format from the 'serializer.formats' container parameter. 1
RequestHandler class Drupal\jsonapi\Controller src/Controller/RequestHandler.php Acts as request forwarder for \Drupal\jsonapi\Controller\EntityResource. 2
ResourceResponse class Drupal\jsonapi src/ResourceResponse.php Contains data for serialization before sending the response. 6
ResourceResponseSubscriber class Drupal\jsonapi\EventSubscriber src/EventSubscriber/ResourceResponseSubscriber.php Response subscriber that serializes and removes ResourceResponses' data. 2
ResourceResponseTestTrait trait Drupal\Tests\jsonapi\Functional tests/src/Functional/ResourceResponseTestTrait.php Utility methods for handling resource responses.
ResourceResponseValidator class Drupal\jsonapi\EventSubscriber src/EventSubscriber/ResourceResponseValidator.php Response subscriber that validates a JSON API response. 1 2
ResourceResponseValidatorTest class Drupal\Tests\jsonapi\Unit\EventSubscriber tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php @coversDefaultClass \Drupal\jsonapi\EventSubscriber\ResourceResponseValidator @group jsonapi
ResourceTestBase abstract class Drupal\Tests\jsonapi\Functional tests/src/Functional/ResourceTestBase.php Subclass this for every JSON API resource type. 45 1
ResourceType class Drupal\jsonapi\ResourceType src/ResourceType/ResourceType.php Value object containing all metadata for a JSON API resource type. 1 23
ResourceTypeConverter class Drupal\jsonapi\ParamConverter src/ParamConverter/ResourceTypeConverter.php Parameter converter for upcasting JSON API resource type names to objects. 1 2
ResourceTypeRepository class Drupal\jsonapi\ResourceType src/ResourceType/ResourceTypeRepository.php Provides a repository of all JSON API resource types. 1 5 2
ResourceTypeRepositoryInterface interface Drupal\jsonapi\ResourceType src/ResourceType/ResourceTypeRepositoryInterface.php Provides a repository of all JSON API resource types. 1 14
ResourceTypeRepositoryTest class Drupal\Tests\jsonapi\Kernel\ResourceType tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php @coversDefaultClass \Drupal\jsonapi\ResourceType\ResourceTypeRepository @group jsonapi @group legacy
ResponsiveImageStyleTest class Drupal\Tests\jsonapi\Functional tests/src/Functional/ResponsiveImageStyleTest.php JSON API integration test for the "ResponsiveImageStyle" config entity type.
RestJsonApiUnsupported class Drupal\Tests\jsonapi\Functional tests/src/Functional/RestJsonApiUnsupported.php Ensures that the 'api_json' format is not supported by the REST module.
RestResourceConfigTest class Drupal\Tests\jsonapi\Functional tests/src/Functional/RestResourceConfigTest.php JSON API integration test for the "RestResourceConfig" config entity type.
RoleTest class Drupal\Tests\jsonapi\Functional tests/src/Functional/RoleTest.php JSON API integration test for the "Role" config entity type.
RouteEnhancer class Drupal\jsonapi\Routing src/Routing/RouteEnhancer.php Ensures the loaded entity matches the requested resource type. 2
Routes class Drupal\jsonapi\Routing src/Routing/Routes.php Defines dynamic routes. 7
RoutesTest class Drupal\Tests\jsonapi\Unit\Routing tests/src/Unit/Routing/RoutesTest.php @coversDefaultClass \Drupal\jsonapi\Routing\Routes @group jsonapi
SearchPageTest class Drupal\Tests\jsonapi\Functional tests/src/Functional/SearchPageTest.php JSON API integration test for the "SearchPage" config entity type.
Serializer final class Drupal\jsonapi\Serializer src/Serializer/Serializer.php Overrides the Symfony serializer to cordon off our incompatible normalizers. 1 2
SerializerTest class Drupal\Tests\jsonapi\Kernel\Serializer tests/src/Kernel/Serializer/SerializerTest.php Tests the JSON API serializer.
ShortcutSetTest class Drupal\Tests\jsonapi\Functional tests/src/Functional/ShortcutSetTest.php JSON API integration test for the "ShortcutSet" config entity type.
ShortcutTest class Drupal\Tests\jsonapi\Functional tests/src/Functional/ShortcutTest.php JSON API integration test for the "Shortcut" content entity type.
Sort class Drupal\jsonapi\Query src/Query/Sort.php Gathers information about the sort parameter. 6
SortNormalizer class Drupal\jsonapi\Normalizer src/Normalizer/SortNormalizer.php The normalizer used for JSON API sorts. 2
SortNormalizerTest class Drupal\Tests\jsonapi\Kernel\Normalizer tests/src/Kernel/Normalizer/SortNormalizerTest.php @coversDefaultClass \Drupal\jsonapi\Normalizer\SortNormalizer @group jsonapi @group jsonapi_normalizers @group legacy

Pages

Other projects