Search for denormalize

  1. Search 7.x for denormalize
  2. Search 9.5.x for denormalize
  3. Search 10.3.x for denormalize
  4. Search 11.x for denormalize
  5. Other projects
Title Object type File name Summary
EntityNormalizerTest::testDenormalizeWithNoFieldableEntityType function core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php Tests the denormalize method with no bundle defined.
EntityNormalizerTest::testDenormalizeWithValidBundle function core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php Tests the denormalize method with a bundle property.
EntityReferenceFieldItemNormalizerTest::assertDenormalize function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php Asserts denormalization process is correct for give data.
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithEmtpyUuid function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @covers ::denormalize
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithId function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @covers ::denormalize
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithTypeAndUuid function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @covers ::denormalize
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithTypeWithIncorrectUuid function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @covers ::denormalize
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithUuidWithIncorrectType function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @covers ::denormalize
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithUuidWithoutType function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @covers ::denormalize
EntitySerializationTest::testDenormalize function core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php Tests denormalization of an entity.
EntitySerializationTest::testDenormalizeCustomSerializedItem function core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php Tests normalizing/denormalizing custom serialized columns.
EntitySerializationTest::testDenormalizeEmptyCustomSerializedField function core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php Tests normalizing/denormalizing empty custom serialized fields.
EntitySerializationTest::testDenormalizeInvalidCustomSerializedField function core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php Tests normalizing/denormalizing invalid custom serialized fields.
EntitySerializationTest::testDenormalizeSerializedItem function core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php Tests denormalizing serialized columns.
EntitySerializationTest::testDenormalizeStringValue function core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php Tests normalizing/denormalizing using string values.
EntitySerializationTest::testDenormalizeValidCustomSerializedField function core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php Tests normalizing/denormalizing valid custom serialized fields.
FieldableEntityNormalizerTrait::denormalizeFieldData function core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php Denormalizes entity data by denormalizing each field individually.
FieldItemNormalizer::denormalize function core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php
FieldItemNormalizer::denormalize function core/modules/serialization/src/Normalizer/FieldItemNormalizer.php
FieldItemNormalizer::denormalize function core/modules/hal/src/Normalizer/FieldItemNormalizer.php
FieldItemNormalizerDenormalizeExceptionsUnitTest class core/modules/hal/tests/src/Unit/FieldItemNormalizerDenormalizeExceptionsUnitTest.php @coversDefaultClass \Drupal\hal\Normalizer\FieldItemNormalizer
@group hal
FieldItemNormalizerDenormalizeExceptionsUnitTest.php file core/modules/hal/tests/src/Unit/FieldItemNormalizerDenormalizeExceptionsUnitTest.php
FieldItemNormalizerDenormalizeExceptionsUnitTest::testFieldItemNormalizerDenormalizeExceptions function core/modules/hal/tests/src/Unit/FieldItemNormalizerDenormalizeExceptionsUnitTest.php Tests that the FieldItemNormalizer::denormalize() throws proper exceptions.
FieldItemSerializationTest::testFieldDenormalizeWithScalarValue function core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php Tests denormalizing using a scalar field value.
FieldItemSerializationTest::testFieldNormalizeDenormalize function core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php Tests normalizing and denormalizing an entity with field item normalizer.
FieldNormalizer::denormalize function core/modules/jsonapi/src/Normalizer/FieldNormalizer.php
FieldNormalizer::denormalize function core/modules/serialization/src/Normalizer/FieldNormalizer.php
FieldNormalizerDenormalizeExceptionsUnitTest class core/modules/hal/tests/src/Unit/FieldNormalizerDenormalizeExceptionsUnitTest.php @coversDefaultClass \Drupal\hal\Normalizer\FieldNormalizer
@group hal
FieldNormalizerDenormalizeExceptionsUnitTest.php file core/modules/hal/tests/src/Unit/FieldNormalizerDenormalizeExceptionsUnitTest.php
FieldNormalizerDenormalizeExceptionsUnitTest::testFieldNormalizerDenormalizeExceptions function core/modules/hal/tests/src/Unit/FieldNormalizerDenormalizeExceptionsUnitTest.php Tests that the FieldNormalizer::denormalize() throws proper exceptions.
JsonApiDocumentTopLevelNormalizer::denormalize function core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php
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::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.
JsonApiRegressionTest::testDenormalizeAliasedRelationshipFromIssue2953207 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensures denormalizing relationships with aliased field names works.
NormalizerDenormalizeExceptionsUnitTestBase class core/modules/hal/tests/src/Unit/NormalizerDenormalizeExceptionsUnitTestBase.php Common ancestor for FieldItemNormalizerDenormalizeExceptionsUnitTest and
FieldNormalizerDenormalizeExceptionsUnitTest as they have the same
dataProvider.
NormalizerDenormalizeExceptionsUnitTestBase.php file core/modules/hal/tests/src/Unit/NormalizerDenormalizeExceptionsUnitTestBase.php
NormalizerDenormalizeExceptionsUnitTestBase::providerNormalizerDenormalizeExceptions function core/modules/hal/tests/src/Unit/NormalizerDenormalizeExceptionsUnitTestBase.php Provides data for FieldItemNormalizerDenormalizeExceptionsUnitTest::testFieldItemNormalizerDenormalizeExceptions()
and for FieldNormalizerDenormalizeExceptionsUnitTest::testFieldNormalizerDenormalizeExceptions().
ResourceIdentifierNormalizer::denormalize function core/modules/jsonapi/src/Normalizer/ResourceIdentifierNormalizer.php
ResourceIdentifierNormalizerTest::denormalizeInvalidResourceProvider function core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php Data provider for the denormalize test.
ResourceIdentifierNormalizerTest::denormalizeProvider function core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php Data provider for the denormalize test.
ResourceIdentifierNormalizerTest::testDenormalize function core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php @covers ::denormalize
@dataProvider denormalizeProvider
ResourceIdentifierNormalizerTest::testDenormalizeInvalidResource function core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php @covers ::denormalize
@dataProvider denormalizeInvalidResourceProvider
Serializer::denormalize function core/modules/jsonapi/src/Serializer/Serializer.php
StringNormalizer::denormalize function core/modules/jsonapi/tests/modules/jsonapi_test_data_type/src/Normalizer/StringNormalizer.php

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