Search for document
- Search 7.x for document
- Search 9.5.x for document
- Search 8.9.x for document
- Search 11.x for document
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
JsonApiDocumentTopLevelNormalizer | class | core/ |
Normalizes the top-level document according to the JSON:API specification. |
JsonApiDocumentTopLevelNormalizer.php | file | core/ |
|
JsonApiDocumentTopLevelNormalizer::$entityTypeManager | property | core/ |
The entity type manager. |
JsonApiDocumentTopLevelNormalizer::$resourceTypeRepository | property | core/ |
The JSON:API resource type repository. |
JsonApiDocumentTopLevelNormalizer::denormalize | function | core/ |
|
JsonApiDocumentTopLevelNormalizer::getLinkHash | function | core/ |
Hashes an omitted link. |
JsonApiDocumentTopLevelNormalizer::getSupportedTypes | function | core/ |
|
JsonApiDocumentTopLevelNormalizer::hasCacheableSupportsMethod | function | core/ |
|
JsonApiDocumentTopLevelNormalizer::normalize | function | core/ |
|
JsonApiDocumentTopLevelNormalizer::normalizeErrorDocument | function | core/ |
Normalizes an error collection. |
JsonApiDocumentTopLevelNormalizer::normalizeOmissionsLinks | function | core/ |
Normalizes omitted data into a set of omission links. |
JsonApiDocumentTopLevelNormalizer::validateRequestBody | function | core/ |
Performs minimal validation of the document. |
JsonApiDocumentTopLevelNormalizer::__construct | function | core/ |
Constructs a JsonApiDocumentTopLevelNormalizer object. |
JsonApiDocumentTopLevelNormalizerTest | class | core/ |
@coversDefaultClass \Drupal\jsonapi\Normalizer\JsonApiDocumentTopLevelNormalizer[[api-linebreak]] @group jsonapi |
JsonApiDocumentTopLevelNormalizerTest | class | core/ |
@coversDefaultClass \Drupal\jsonapi\Normalizer\JsonApiDocumentTopLevelNormalizer[[api-linebreak]] @group jsonapi @group #slow |
JsonApiDocumentTopLevelNormalizerTest.php | file | core/ |
|
JsonApiDocumentTopLevelNormalizerTest.php | file | core/ |
|
JsonApiDocumentTopLevelNormalizerTest::$file | property | core/ |
|
JsonApiDocumentTopLevelNormalizerTest::$includeResolver | property | core/ |
The include resolver. |
JsonApiDocumentTopLevelNormalizerTest::$modules | property | core/ |
Modules to install. |
JsonApiDocumentTopLevelNormalizerTest::$node | property | core/ |
A node to normalize. |
JsonApiDocumentTopLevelNormalizerTest::$nodeType | property | core/ |
The node type. |
JsonApiDocumentTopLevelNormalizerTest::$normalizer | property | core/ |
The normalizer under test. |
JsonApiDocumentTopLevelNormalizerTest::$resourceTypeRepository | property | core/ |
The JSON:API resource type repository under test. |
JsonApiDocumentTopLevelNormalizerTest::$term1 | property | core/ |
A term. |
JsonApiDocumentTopLevelNormalizerTest::$term2 | property | core/ |
A term. |
JsonApiDocumentTopLevelNormalizerTest::$user | property | core/ |
A user to normalize. |
JsonApiDocumentTopLevelNormalizerTest::$user2 | property | core/ |
A user. |
JsonApiDocumentTopLevelNormalizerTest::$vocabulary | property | core/ |
A vocabulary. |
JsonApiDocumentTopLevelNormalizerTest::denormalizeProvider | function | core/ |
Data provider for the denormalize test. |
JsonApiDocumentTopLevelNormalizerTest::denormalizeUuidProvider | function | core/ |
Provides test cases for testDenormalizeUuid. |
JsonApiDocumentTopLevelNormalizerTest::denormalizeUuidProviderBuilder | function | core/ |
We cannot use a PHPUnit data provider because our data depends on $this. |
JsonApiDocumentTopLevelNormalizerTest::getNormalizer | function | core/ |
Helper to load the normalizer. |
JsonApiDocumentTopLevelNormalizerTest::setUp | function | core/ |
|
JsonApiDocumentTopLevelNormalizerTest::setUp | function | core/ |
|
JsonApiDocumentTopLevelNormalizerTest::tearDown | function | core/ |
|
JsonApiDocumentTopLevelNormalizerTest::testAliasFieldRouteException | function | core/ |
Tests the message and exceptions when requesting a Label only resource. |
JsonApiDocumentTopLevelNormalizerTest::testCacheableMetadata | function | core/ |
Ensure that cacheability metadata is properly added. |
JsonApiDocumentTopLevelNormalizerTest::testCacheableMetadataProvider | function | core/ |
Provides test cases for asserting cacheable metadata behavior. |
JsonApiDocumentTopLevelNormalizerTest::testDenormalize | function | core/ |
@covers ::denormalize[[api-linebreak]] @dataProvider denormalizeProvider |
JsonApiDocumentTopLevelNormalizerTest::testDenormalize | function | core/ |
Try to POST a node and check if it exists afterwards. |
JsonApiDocumentTopLevelNormalizerTest::testDenormalizeInvalidTypeAndNoType | function | core/ |
Tests denormalization for related resources with missing or invalid types. |
JsonApiDocumentTopLevelNormalizerTest::testDenormalizeUuid | function | core/ |
Ensures only valid UUIDs can be specified. |
JsonApiDocumentTopLevelNormalizerTest::testDenormalizeUuid | function | core/ |
Try to POST a node and check if it exists afterwards. |
JsonApiDocumentTopLevelNormalizerTest::testNormalize | function | core/ |
@covers ::normalize[[api-linebreak]] |
JsonApiDocumentTopLevelNormalizerTest::testNormalizeConfig | function | core/ |
@covers ::normalize[[api-linebreak]] |
JsonApiDocumentTopLevelNormalizerTest::testNormalizeException | function | core/ |
@covers ::normalize[[api-linebreak]] |
JsonApiDocumentTopLevelNormalizerTest::testNormalizeUuid | function | core/ |
@covers ::normalize[[api-linebreak]] |
jsonapi_test_normalizers_kernel.jsonapi_document_toplevel | service | core/ |
Alias of serializer.normalizer.jsonapi_document_toplevel.jsonapi |
LayoutBuilderEntityViewDisplayTest::getExpectedDocument | function | core/ |
Returns the expected JSON:API document for the entity. |
Pagination
- Previous page
- Page 3
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.