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
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/aggregator/tests/src/Functional/Hal/FeedHalJsonTestBase.php Returns the expected normalization of the entity.
FeedHalJsonTestBase::getNormalizedPostEntity function core/modules/aggregator/tests/src/Functional/Hal/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 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
FieldItemNormalizer.php file core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php
FieldItemNormalizer.php file core/modules/serialization/src/Normalizer/FieldItemNormalizer.php
FieldItemNormalizer::$entityTypeManager property core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php The entity type manager.
FieldItemNormalizer::$supportedInterfaceOrClass property core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php The interface or class that this Normalizer supports.
FieldItemNormalizer::$supportedInterfaceOrClass property core/modules/serialization/src/Normalizer/FieldItemNormalizer.php The interface or class that this Normalizer supports.
FieldItemNormalizer::$supportedInterfaceOrClass property core/modules/hal/src/Normalizer/FieldItemNormalizer.php The interface or class that this Normalizer supports.
FieldItemNormalizer::createTranslatedInstance function core/modules/hal/src/Normalizer/FieldItemNormalizer.php Get a translated version of the field item instance.
FieldItemNormalizer::denormalize function core/modules/hal/src/Normalizer/FieldItemNormalizer.php
FieldItemNormalizer::denormalize function core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php
FieldItemNormalizer::denormalize function core/modules/serialization/src/Normalizer/FieldItemNormalizer.php
FieldItemNormalizer::getFieldItemInstance function core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php Gets a field item instance for use with SerializedColumnNormalizerTrait.
FieldItemNormalizer::normalize function core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php This normalizer leaves JSON:API normalizer land and enters the land of
Drupal core's serialization system. That system was never designed with
cacheability in mind, and hence bubbles cacheability out of band. This must
catch it, and pass it to…
FieldItemNormalizer::normalize function core/modules/hal/src/Normalizer/FieldItemNormalizer.php
FieldItemNormalizer::normalizedFieldValues function core/modules/hal/src/Normalizer/FieldItemNormalizer.php Normalizes field values for an item.
FieldItemNormalizer::__construct function core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php FieldItemNormalizer constructor.

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