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
EntityTranslationNormalizeTest.php file core/modules/hal/tests/src/Kernel/EntityTranslationNormalizeTest.php
EntityTranslationNormalizeTest::$modules property core/modules/hal/tests/src/Kernel/EntityTranslationNormalizeTest.php Modules to enable.
EntityTranslationNormalizeTest::setUp function core/modules/hal/tests/src/Kernel/EntityTranslationNormalizeTest.php
EntityTranslationNormalizeTest::testNodeTranslation function core/modules/hal/tests/src/Kernel/EntityTranslationNormalizeTest.php Tests the normalization of node translations.
EntityViewDisplayResourceTestBase::getExpectedNormalizedEntity function core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayResourceTestBase.php Returns the expected normalization of the entity.
EntityViewDisplayResourceTestBase::getNormalizedPostEntity function core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayResourceTestBase.php Returns the normalized POST entity.
EntityViewModeResourceTestBase::getExpectedNormalizedEntity function core/tests/Drupal/FunctionalTests/Rest/EntityViewModeResourceTestBase.php Returns the expected normalization of the entity.
EntityViewModeResourceTestBase::getNormalizedPostEntity function core/tests/Drupal/FunctionalTests/Rest/EntityViewModeResourceTestBase.php Returns the normalized POST entity.
ExternalNormalizersTest class core/modules/jsonapi/tests/src/Functional/ExternalNormalizersTest.php Asserts external normalizers are handled as expected by the JSON:API module.
ExternalNormalizersTest.php file core/modules/jsonapi/tests/src/Functional/ExternalNormalizersTest.php
ExternalNormalizersTest::$defaultTheme property core/modules/jsonapi/tests/src/Functional/ExternalNormalizersTest.php The theme to install as the default for testing.
ExternalNormalizersTest::$entity property core/modules/jsonapi/tests/src/Functional/ExternalNormalizersTest.php The test entity.
ExternalNormalizersTest::$modules property core/modules/jsonapi/tests/src/Functional/ExternalNormalizersTest.php Modules to enable.
ExternalNormalizersTest::providerTestFormatAgnosticNormalizers function core/modules/jsonapi/tests/src/Functional/ExternalNormalizersTest.php Data provider.
ExternalNormalizersTest::setUp function core/modules/jsonapi/tests/src/Functional/ExternalNormalizersTest.php
ExternalNormalizersTest::testFormatAgnosticNormalizers function core/modules/jsonapi/tests/src/Functional/ExternalNormalizersTest.php Tests a format-agnostic normalizer.
ExternalNormalizersTest::VALUE_ORIGINAL constant core/modules/jsonapi/tests/src/Functional/ExternalNormalizersTest.php The original value for the test field.
ExternalNormalizersTest::VALUE_OVERRIDDEN constant core/modules/jsonapi/tests/src/Functional/ExternalNormalizersTest.php The expected overridden value for the test field.
FeedHalJsonTestBase::getExpectedNormalizedEntity function core/modules/hal/tests/src/Functional/aggregator/FeedHalJsonTestBase.php Returns the expected normalization of the entity.
FeedHalJsonTestBase::getNormalizedPostEntity function core/modules/hal/tests/src/Functional/aggregator/FeedHalJsonTestBase.php Returns the normalized POST entity.
FeedResourceTestBase::getExpectedNormalizedEntity function core/modules/aggregator/tests/src/Functional/Rest/FeedResourceTestBase.php Returns the expected normalization of the entity.
FeedResourceTestBase::getNormalizedPostEntity function core/modules/aggregator/tests/src/Functional/Rest/FeedResourceTestBase.php Returns the normalized POST entity.
FieldableEntityNormalizerTrait trait core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php A trait for providing fieldable entity normalization/denormalization methods.
FieldableEntityNormalizerTrait.php file core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php
FieldableEntityNormalizerTrait::$entityFieldManager property core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php The entity field manager.
FieldableEntityNormalizerTrait::$entityTypeManager property core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php The entity type manager.
FieldableEntityNormalizerTrait::$entityTypeRepository property core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php The entity type repository.
FieldableEntityNormalizerTrait::constructValue function core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php Build the field item value using the incoming data.
FieldableEntityNormalizerTrait::denormalizeFieldData function core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php Denormalizes entity data by denormalizing each field individually.
FieldableEntityNormalizerTrait::determineEntityTypeId function core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php Determines the entity type ID to denormalize as.
FieldableEntityNormalizerTrait::extractBundleData function core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php Denormalizes the bundle property so entity creation can use it.
FieldableEntityNormalizerTrait::getEntityFieldManager function core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php Returns the entity field manager.
FieldableEntityNormalizerTrait::getEntityTypeDefinition function core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php Gets the entity type definition.
FieldableEntityNormalizerTrait::getEntityTypeManager function core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php Returns the entity type manager.
FieldableEntityNormalizerTrait::getEntityTypeRepository function core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php Returns the entity type repository.
FieldConfigResourceTestBase::getExpectedNormalizedEntity function core/modules/field/tests/src/Functional/Rest/FieldConfigResourceTestBase.php Returns the expected normalization of the entity.
FieldConfigResourceTestBase::getNormalizedPostEntity function core/modules/field/tests/src/Functional/Rest/FieldConfigResourceTestBase.php Returns the normalized POST entity.
FieldInputValueNormalizerTrait trait core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php A trait used to assist in the normalization of raw input field values.
FieldInputValueNormalizerTrait.php file core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php
FieldInputValueNormalizerTrait::normalizeValue function core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php Ensure a field value is transformed into a format keyed by delta.
FieldInputValueNormalizerTraitTest class core/tests/Drupal/Tests/Core/Field/FieldInputValueNormalizerTraitTest.php @coversDefaultClass \Drupal\Core\Field\FieldInputValueNormalizerTrait
@group Field
FieldInputValueNormalizerTraitTest.php file core/tests/Drupal/Tests/Core/Field/FieldInputValueNormalizerTraitTest.php
FieldInputValueNormalizerTraitTest::keyValueByDeltaTestCases function core/tests/Drupal/Tests/Core/Field/FieldInputValueNormalizerTraitTest.php Provides test cases for ::testKeyValueByDelta.
FieldInputValueNormalizerTraitTest::testKeyValueByDelta function core/tests/Drupal/Tests/Core/Field/FieldInputValueNormalizerTraitTest.php @dataProvider keyValueByDeltaTestCases
@covers ::normalizeValue
FieldInputValueNormalizerTraitTest::testKeyValueByDeltaUndefinedVariables function core/tests/Drupal/Tests/Core/Field/FieldInputValueNormalizerTraitTest.php @covers ::normalizeValue
FieldInputValueNormalizerTraitTest::testScalarWithNoMainProperty function core/tests/Drupal/Tests/Core/Field/FieldInputValueNormalizerTraitTest.php @covers ::normalizeValue
FieldItemNormalizer class core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php Converts the Drupal field item object to a JSON:API array structure.
FieldItemNormalizer class core/modules/serialization/src/Normalizer/FieldItemNormalizer.php Denormalizes field item object structure by updating the entity field values.
FieldItemNormalizer class core/modules/hal/src/Normalizer/FieldItemNormalizer.php Converts the Drupal field item object structure to HAL array structure.
FieldItemNormalizer.php file core/modules/hal/src/Normalizer/FieldItemNormalizer.php

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