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
EntityReferenceFieldItemNormalizerTrait.php file core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizerTrait.php
EntityReferenceFieldItemNormalizerTrait::fieldItemReferencesTaxonomyTerm function core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizerTrait.php Determines if a field item references a taxonomy term.
EntityReferenceFieldItemNormalizerTrait::normalizeRootReferenceValue function core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizerTrait.php
EntityReferenceFieldNormalizer class core/modules/jsonapi/src/Normalizer/EntityReferenceFieldNormalizer.php Normalizer class specific for entity reference field objects.
EntityReferenceFieldNormalizer.php file core/modules/jsonapi/src/Normalizer/EntityReferenceFieldNormalizer.php
EntityReferenceFieldNormalizer::$supportedInterfaceOrClass property core/modules/jsonapi/src/Normalizer/EntityReferenceFieldNormalizer.php The interface or class that this Normalizer supports.
EntityReferenceFieldNormalizer::getRelationshipLinks function core/modules/jsonapi/src/Normalizer/EntityReferenceFieldNormalizer.php Gets the links for the relationship.
EntityReferenceFieldNormalizer::hasNonInternalResourceType function core/modules/jsonapi/src/Normalizer/EntityReferenceFieldNormalizer.php Determines if a given list of resource types contains a non-internal type.
EntityReferenceFieldNormalizer::normalize function core/modules/jsonapi/src/Normalizer/EntityReferenceFieldNormalizer.php
EntityReferenceItemNormalizer class core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php Converts the Drupal entity reference item object to HAL array structure.
EntityReferenceItemNormalizer.php file core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php
EntityReferenceItemNormalizer::$entityResolver property core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php The entity resolver.
EntityReferenceItemNormalizer::$entityTypeManager property core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php The entity type manager.
EntityReferenceItemNormalizer::$linkManager property core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php The hypermedia link manager.
EntityReferenceItemNormalizer::$supportedInterfaceOrClass property core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php The interface or class that this Normalizer supports.
EntityReferenceItemNormalizer::constructValue function core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php Build the field item value using the incoming data.
EntityReferenceItemNormalizer::getUuid function core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php Get the uuid from the data array.
EntityReferenceItemNormalizer::hasCacheableSupportsMethod function core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php
EntityReferenceItemNormalizer::normalize function core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php
EntityReferenceItemNormalizer::normalizedFieldValues function core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php Normalizes field values for an item.
EntityReferenceItemNormalizer::targetEntityIsFieldable function core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php Checks whether the referenced entity is of a fieldable entity type.
EntityReferenceItemNormalizer::__construct function core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php Constructs an EntityReferenceItemNormalizer object.
EntityResourceTestBase::getExpectedNormalizedEntity function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Returns the expected normalization of the entity.
EntityResourceTestBase::getNormalizedPatchEntity function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Returns the normalized PATCH entity.
EntityResourceTestBase::getNormalizedPostEntity function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Returns the normalized POST entity.
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.
EntitySerializationTest::testNormalize function core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php Tests the normalize function.
EntitySerializationTest::testUserNormalize function core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php Tests user normalization with some default access controls overridden.
EntityTestBundleResourceTestBase::getExpectedNormalizedEntity function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleResourceTestBase.php Returns the expected normalization of the entity.
EntityTestBundleResourceTestBase::getNormalizedPostEntity function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleResourceTestBase.php Returns the normalized POST entity.
EntityTestComputedFieldNormalizerTest class core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestComputedFieldNormalizerTest.php Test normalization of computed field.
EntityTestComputedFieldNormalizerTest.php file core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestComputedFieldNormalizerTest.php
EntityTestComputedFieldNormalizerTest::$defaultTheme property core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestComputedFieldNormalizerTest.php The theme to install as the default for testing.
EntityTestComputedFieldNormalizerTest::$entityTypeId property core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestComputedFieldNormalizerTest.php The tested entity type.
EntityTestComputedFieldNormalizerTest::getExpectedCacheContexts function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestComputedFieldNormalizerTest.php The expected cache contexts for the GET/HEAD response of the test entity.
EntityTestComputedFieldNormalizerTest::getExpectedCacheTags function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestComputedFieldNormalizerTest.php The expected cache tags for the GET/HEAD response of the test entity.
EntityTestComputedFieldNormalizerTest::getExpectedNormalizedEntity function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestComputedFieldNormalizerTest.php Returns the expected normalization of the entity.
EntityTestComputedFieldNormalizerTest::getExpectedUnauthorizedAccessMessage function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestComputedFieldNormalizerTest.php Return the expected error message.
EntityTestComputedFieldNormalizerTest::setUpAuthorization function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestComputedFieldNormalizerTest.php Sets up the necessary authorization.
EntityTestComputedFieldNormalizerTest::testDelete function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestComputedFieldNormalizerTest.php Tests a DELETE request for an entity, plus edge cases to ensure good DX.
EntityTestComputedFieldNormalizerTest::testPatch function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestComputedFieldNormalizerTest.php Tests a PATCH request for an entity, plus edge cases to ensure good DX.
EntityTestComputedFieldNormalizerTest::testPost function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestComputedFieldNormalizerTest.php Tests a POST request for an entity, plus edge cases to ensure good DX.
EntityTestDateonlyTest::getExpectedNormalizedEntity function core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateonlyTest.php Returns the expected normalization of the entity.
EntityTestDateonlyTest::getNormalizedPostEntity function core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateonlyTest.php Returns the normalized POST entity.

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