Search for normalize

  1. Search 7.x for normalize
  2. Search 9.5.x for normalize
  3. Search 8.9.x for normalize
  4. Search 10.3.x for normalize
  5. Other projects
Title Object type File name Summary
ExternalNormalizersTest::$modules property core/modules/jsonapi/tests/src/Functional/ExternalNormalizersTest.php Modules to install.
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.
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.
FieldEntitySettingsTest::testEntityReferenceSettingsNormalized function core/modules/field/tests/src/Kernel/Entity/FieldEntitySettingsTest.php Tests entity reference settings are normalized on field creation and save.
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.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::denormalize function core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php
FieldItemNormalizer::denormalize function core/modules/serialization/src/Normalizer/FieldItemNormalizer.php
FieldItemNormalizer::getAlternatives function core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php Provides alternatives for a given array and key.
FieldItemNormalizer::getFieldItemInstance function core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php Gets a field item instance for use with SerializedColumnNormalizerTrait.
FieldItemNormalizer::getSupportedTypes function core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php
FieldItemNormalizer::getSupportedTypes function core/modules/serialization/src/Normalizer/FieldItemNormalizer.php
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::__construct function core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php FieldItemNormalizer constructor.
FieldItemNormalizerTest class core/modules/jsonapi/tests/src/Kernel/Normalizer/FieldItemNormalizerTest.php @coversDefaultClass \Drupal\jsonapi\Normalizer\FieldItemNormalizer
@group jsonapi
FieldItemNormalizerTest.php file core/modules/jsonapi/tests/src/Kernel/Normalizer/FieldItemNormalizerTest.php
FieldItemNormalizerTest::$modules property core/modules/jsonapi/tests/src/Kernel/Normalizer/FieldItemNormalizerTest.php Modules to install.
FieldItemNormalizerTest::$normalizer property core/modules/jsonapi/tests/src/Kernel/Normalizer/FieldItemNormalizerTest.php The normalizer.
FieldItemNormalizerTest::setUp function core/modules/jsonapi/tests/src/Kernel/Normalizer/FieldItemNormalizerTest.php
FieldItemNormalizerTest::testNormalizeFieldItem function core/modules/jsonapi/tests/src/Kernel/Normalizer/FieldItemNormalizerTest.php Tests normalizing field item.

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