Search for normalize

  1. Search 7.x for normalize
  2. Search 8.9.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
EntityFormModeResourceTestBase::getNormalizedPostEntity function core/tests/Drupal/FunctionalTests/Rest/EntityFormModeResourceTestBase.php Returns the normalized POST entity.
EntityNormalizer class core/modules/serialization/src/Normalizer/EntityNormalizer.php Normalizes/denormalizes Drupal entity objects into an array structure.
EntityNormalizer.php file core/modules/serialization/src/Normalizer/EntityNormalizer.php
EntityNormalizer::$supportedInterfaceOrClass property core/modules/serialization/src/Normalizer/EntityNormalizer.php The interface or class that this Normalizer supports.
EntityNormalizer::denormalize function core/modules/serialization/src/Normalizer/EntityNormalizer.php
EntityNormalizer::__construct function core/modules/serialization/src/Normalizer/EntityNormalizer.php Constructs an EntityNormalizer object.
EntityNormalizerTest class core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php @coversDefaultClass \Drupal\serialization\Normalizer\EntityNormalizer
@group serialization
EntityNormalizerTest.php file core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php
EntityNormalizerTest::$entityFieldManager property core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php The mock entity field manager.
EntityNormalizerTest::$entityNormalizer property core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php The entity normalizer.
EntityNormalizerTest::$entityTypeManager property core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php The mock entity type manager.
EntityNormalizerTest::$entityTypeRepository property core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php The mock entity type repository.
EntityNormalizerTest::$serializer property core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php The mock serializer.
EntityNormalizerTest::setUp function core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php
EntityNormalizerTest::testDenormalizeWithInvalidBundle function core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php Tests the denormalize method with a bundle property.
EntityNormalizerTest::testDenormalizeWithNoBundle function core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php Tests the denormalize method with no bundle defined.
EntityNormalizerTest::testDenormalizeWithNoEntityType function core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php Tests the denormalize() method with no entity type provided in context.
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.
EntityNormalizerTest::testNormalize function core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php Tests the normalize() method.
EntityReferenceFieldItemNormalizer class core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizer.php Adds the file URI to embedded file entities.
EntityReferenceFieldItemNormalizer.php file core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizer.php
EntityReferenceFieldItemNormalizer::$entityRepository property core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizer.php The entity repository.
EntityReferenceFieldItemNormalizer::$supportedInterfaceOrClass property core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizer.php The interface or class that this Normalizer supports.
EntityReferenceFieldItemNormalizer::constructValue function core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizer.php Build the field item value using the incoming data.
EntityReferenceFieldItemNormalizer::normalize function core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizer.php
EntityReferenceFieldItemNormalizer::__construct function core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizer.php Constructs an EntityReferenceFieldItemNormalizer object.
EntityReferenceFieldItemNormalizerTest class core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @coversDefaultClass \Drupal\serialization\Normalizer\EntityReferenceFieldItemNormalizer
@group serialization
EntityReferenceFieldItemNormalizerTest.php file core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php
EntityReferenceFieldItemNormalizerTest::$entityRepository property core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php The mock entity repository.
EntityReferenceFieldItemNormalizerTest::$fieldDefinition property core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php The mock field definition.
EntityReferenceFieldItemNormalizerTest::$fieldItem property core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php The mock field item.
EntityReferenceFieldItemNormalizerTest::$normalizer property core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php The normalizer under test.
EntityReferenceFieldItemNormalizerTest::$serializer property core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php The mock serializer.
EntityReferenceFieldItemNormalizerTest::assertDenormalize function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php Asserts denormalization process is correct for give data.
EntityReferenceFieldItemNormalizerTest::setUp function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php
EntityReferenceFieldItemNormalizerTest::testConstructValueProperties function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @covers ::constructValue
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithEmptyUuid 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
EntityReferenceFieldItemNormalizerTest::testNormalize function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @covers ::normalize
EntityReferenceFieldItemNormalizerTest::testNormalizeWithEmptyTaxonomyTermReference function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @covers ::normalize
EntityReferenceFieldItemNormalizerTest::testNormalizeWithNewEntityReference function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php
EntityReferenceFieldItemNormalizerTest::testNormalizeWithNoEntity function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @covers ::normalize
EntityReferenceFieldItemNormalizerTest::testSupportsDenormalization function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @covers ::supportsDenormalization
EntityReferenceFieldItemNormalizerTest::testSupportsNormalization function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @covers ::supportsNormalization
EntityReferenceFieldItemNormalizerTrait trait core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizerTrait.php Converts empty reference values for entity reference items.

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