JsonApiDocumentTopLevel::getMeta |
function |
core/modules/jsonapi/src/JsonApiResource/JsonApiDocumentTopLevel.php |
Gets the metadata. |
JsonApiDocumentTopLevel::getOmissions |
function |
core/modules/jsonapi/src/JsonApiResource/JsonApiDocumentTopLevel.php |
Gets an OmittedData instance containing resources to be omitted. |
JsonApiDocumentTopLevel::__construct |
function |
core/modules/jsonapi/src/JsonApiResource/JsonApiDocumentTopLevel.php |
Instantiates a JsonApiDocumentTopLevel object. |
JsonApiDocumentTopLevelNormalizer |
class |
core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php |
Normalizes the top-level document according to the JSON:API specification. |
JsonApiDocumentTopLevelNormalizer.php |
file |
core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php |
|
JsonApiDocumentTopLevelNormalizer::$entityTypeManager |
property |
core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php |
The entity type manager. |
JsonApiDocumentTopLevelNormalizer::$resourceTypeRepository |
property |
core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php |
The JSON:API resource type repository. |
JsonApiDocumentTopLevelNormalizer::$supportedInterfaceOrClass |
property |
core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php |
The interface or class that this Normalizer supports. |
JsonApiDocumentTopLevelNormalizer::denormalize |
function |
core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php |
|
JsonApiDocumentTopLevelNormalizer::getLinkHash |
function |
core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php |
Hashes an omitted link. |
JsonApiDocumentTopLevelNormalizer::hasCacheableSupportsMethod |
function |
core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php |
|
JsonApiDocumentTopLevelNormalizer::normalize |
function |
core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php |
|
JsonApiDocumentTopLevelNormalizer::normalizeErrorDocument |
function |
core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php |
Normalizes an error collection. |
JsonApiDocumentTopLevelNormalizer::normalizeOmissionsLinks |
function |
core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php |
Normalizes omitted data into a set of omission links. |
JsonApiDocumentTopLevelNormalizer::validateRequestBody |
function |
core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php |
Performs minimal validation of the document. |
JsonApiDocumentTopLevelNormalizer::__construct |
function |
core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php |
Constructs a JsonApiDocumentTopLevelNormalizer object. |
JsonApiDocumentTopLevelNormalizerTest |
class |
core/modules/jsonapi/tests/src/Unit/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
@coversDefaultClass \Drupal\jsonapi\Normalizer\JsonApiDocumentTopLevelNormalizer
@group jsonapi |
JsonApiDocumentTopLevelNormalizerTest |
class |
core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
@coversDefaultClass \Drupal\jsonapi\Normalizer\JsonApiDocumentTopLevelNormalizer
@group jsonapi |
JsonApiDocumentTopLevelNormalizerTest.php |
file |
core/modules/jsonapi/tests/src/Unit/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
|
JsonApiDocumentTopLevelNormalizerTest.php |
file |
core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
|
JsonApiDocumentTopLevelNormalizerTest::$file |
property |
core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
|
JsonApiDocumentTopLevelNormalizerTest::$includeResolver |
property |
core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
The include resolver. |
JsonApiDocumentTopLevelNormalizerTest::$modules |
property |
core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
Modules to enable. |
JsonApiDocumentTopLevelNormalizerTest::$node |
property |
core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
A node to normalize. |
JsonApiDocumentTopLevelNormalizerTest::$nodeType |
property |
core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
The node type. |
JsonApiDocumentTopLevelNormalizerTest::$normalizer |
property |
core/modules/jsonapi/tests/src/Unit/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
The normalizer under test. |
JsonApiDocumentTopLevelNormalizerTest::$resourceTypeRepository |
property |
core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
The JSON:API resource type repository under test. |
JsonApiDocumentTopLevelNormalizerTest::$term1 |
property |
core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
A term. |
JsonApiDocumentTopLevelNormalizerTest::$term2 |
property |
core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
A term. |
JsonApiDocumentTopLevelNormalizerTest::$user |
property |
core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
A user to normalize. |
JsonApiDocumentTopLevelNormalizerTest::$user2 |
property |
core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
A user. |
JsonApiDocumentTopLevelNormalizerTest::$vocabulary |
property |
core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
A vocabulary. |
JsonApiDocumentTopLevelNormalizerTest::denormalizeProvider |
function |
core/modules/jsonapi/tests/src/Unit/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
Data provider for the denormalize test. |
JsonApiDocumentTopLevelNormalizerTest::denormalizeUuidProvider |
function |
core/modules/jsonapi/tests/src/Unit/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
Provides test cases for testDenormalizeUuid. |
JsonApiDocumentTopLevelNormalizerTest::denormalizeUuidProviderBuilder |
function |
core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
We cannot use a PHPUnit data provider because our data depends on $this. |
JsonApiDocumentTopLevelNormalizerTest::getNormalizer |
function |
core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
Helper to load the normalizer. |
JsonApiDocumentTopLevelNormalizerTest::setUp |
function |
core/modules/jsonapi/tests/src/Unit/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
|
JsonApiDocumentTopLevelNormalizerTest::setUp |
function |
core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
|
JsonApiDocumentTopLevelNormalizerTest::tearDown |
function |
core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
|
JsonApiDocumentTopLevelNormalizerTest::testAliasFieldRouteException |
function |
core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
Tests the message and exceptions when requesting a Label only resource. |
JsonApiDocumentTopLevelNormalizerTest::testCacheableMetadata |
function |
core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
Ensure that cacheability metadata is properly added. |
JsonApiDocumentTopLevelNormalizerTest::testCacheableMetadataProvider |
function |
core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
Provides test cases for asserting cacheable metadata behavior. |
JsonApiDocumentTopLevelNormalizerTest::testDenormalize |
function |
core/modules/jsonapi/tests/src/Unit/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
@covers ::denormalize
@dataProvider denormalizeProvider |
JsonApiDocumentTopLevelNormalizerTest::testDenormalize |
function |
core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
Try to POST a node and check if it exists afterwards. |
JsonApiDocumentTopLevelNormalizerTest::testDenormalizeInvalidTypeAndNoType |
function |
core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
Tests denormalization for related resources with missing or invalid types. |
JsonApiDocumentTopLevelNormalizerTest::testDenormalizeUuid |
function |
core/modules/jsonapi/tests/src/Unit/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
Ensures only valid UUIDs can be specified. |
JsonApiDocumentTopLevelNormalizerTest::testDenormalizeUuid |
function |
core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
Try to POST a node and check if it exists afterwards. |
JsonApiDocumentTopLevelNormalizerTest::testNormalize |
function |
core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
@covers ::normalize |
JsonApiDocumentTopLevelNormalizerTest::testNormalizeConfig |
function |
core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
@covers ::normalize |
JsonApiDocumentTopLevelNormalizerTest::testNormalizeException |
function |
core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
@covers ::normalize |