Search for normalize
- Search 7.x for normalize
- Search 9.5.x for normalize
- Search 10.3.x for normalize
- Search 11.x for normalize
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
JsonApiDocumentTopLevelNormalizerTest::getNormalizer | function | core/ |
Helper to load the normalizer. |
JsonApiDocumentTopLevelNormalizerTest::setUp | function | core/ |
|
JsonApiDocumentTopLevelNormalizerTest::setUp | function | core/ |
|
JsonApiDocumentTopLevelNormalizerTest::tearDown | function | core/ |
|
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 @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 |
JsonApiDocumentTopLevelNormalizerTest::testNormalizeConfig | function | core/ |
@covers ::normalize |
JsonApiDocumentTopLevelNormalizerTest::testNormalizeException | function | core/ |
@covers ::normalize |
JsonApiDocumentTopLevelNormalizerTest::testNormalizeRelated | function | core/ |
@covers ::normalize |
JsonApiDocumentTopLevelNormalizerTest::testNormalizeUuid | function | core/ |
@covers ::normalize |
JsonApiRegressionTest::testDenormalizeAliasedRelationshipFromIssue2953207 | function | core/ |
Ensures denormalizing relationships with aliased field names works. |
JsonApiRegressionTest::testPatchingDateTimeNormalizedWrongTimeZoneIssue3021194 | function | core/ |
Ensures datetime fields are normalized using the correct timezone. |
jsonapi_test_normalizers_kernel.info.yml | file | core/ |
core/modules/jsonapi/tests/modules/jsonapi_test_normalizers_kernel/jsonapi_test_normalizers_kernel.info.yml |
jsonapi_test_normalizers_kernel.jsonapi_document_toplevel | service | core/ |
Alias of serializer.normalizer.jsonapi_document_toplevel.jsonapi |
jsonapi_test_normalizers_kernel.services.yml | file | core/ |
core/modules/jsonapi/tests/modules/jsonapi_test_normalizers_kernel/jsonapi_test_normalizers_kernel.services.yml |
LayoutBuilderEntityViewDisplayResourceTestBase::getExpectedNormalizedEntity | function | core/ |
Returns the expected normalization of the entity. |
LayoutEntityDisplayNormalizer | class | core/ |
Normalizes/denormalizes LayoutEntityDisplay objects into an array structure. |
LayoutEntityDisplayNormalizer.php | file | core/ |
|
LayoutEntityDisplayNormalizer::$supportedInterfaceOrClass | property | core/ |
The interface or class that this Normalizer supports. |
LayoutEntityDisplayNormalizer::getDataWithoutInternals | function | core/ |
Gets the given data without the internal implementation details. |
LinkCollectionNormalizer | class | core/ |
Normalizes a LinkCollection object. |
LinkCollectionNormalizer.php | file | core/ |
|
LinkCollectionNormalizer::$hashSalt | property | core/ |
A random string to use when hashing links. |
LinkCollectionNormalizer::$supportedInterfaceOrClass | property | core/ |
The interface or class that this Normalizer supports. |
LinkCollectionNormalizer::hashByHref | function | core/ |
Hashes a link by its href. |
LinkCollectionNormalizer::LINK_CONTEXT | constant | core/ |
The normalizer $context key name for the context object of the link. |
LinkCollectionNormalizer::LINK_KEY | constant | core/ |
The normalizer $context key name for the key of an individual link. |
LinkCollectionNormalizer::normalize | function | core/ |
|
ListNormalizer | class | core/ |
Converts list objects to arrays. |
ListNormalizer.php | file | core/ |
|
ListNormalizer::$supportedInterfaceOrClass | property | core/ |
The interface or class that this Normalizer supports. |
ListNormalizer::normalize | function | core/ |
|
ListNormalizerTest | class | core/ |
@coversDefaultClass \Drupal\serialization\Normalizer\ListNormalizer @group serialization |
ListNormalizerTest.php | file | core/ |
|
ListNormalizerTest::$expectedListValues | property | core/ |
The expected list values to use for testing. |
ListNormalizerTest::$list | property | core/ |
The mock list instance. |
ListNormalizerTest::$normalizer | property | core/ |
The ListNormalizer instance. |
ListNormalizerTest::$typedData | property | core/ |
The mocked typed data. |
ListNormalizerTest::setUp | function | core/ |
|
ListNormalizerTest::testNormalize | function | core/ |
Tests the normalize() method. |
ListNormalizerTest::testSupportsNormalization | function | core/ |
Tests the supportsNormalization() method. |
MapDataNormalizerTest | class | core/ |
@group typedData |
MapDataNormalizerTest.php | file | core/ |
|
MapDataNormalizerTest::$modules | property | core/ |
Modules to enable. |
Pagination
- Previous page
- Page 11
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.