Search for normalize

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

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