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
EditorResourceTestBase::getExpectedNormalizedEntity function core/modules/editor/tests/src/Functional/Rest/EditorResourceTestBase.php Returns the expected normalization of the entity.
EditorResourceTestBase::getNormalizedPostEntity function core/modules/editor/tests/src/Functional/Rest/EditorResourceTestBase.php Returns the normalized POST entity.
EntityAccessDeniedHttpExceptionNormalizer class core/modules/jsonapi/src/Normalizer/EntityAccessDeniedHttpExceptionNormalizer.php Normalizes an EntityAccessDeniedException.
EntityAccessDeniedHttpExceptionNormalizer.php file core/modules/jsonapi/src/Normalizer/EntityAccessDeniedHttpExceptionNormalizer.php
EntityAccessDeniedHttpExceptionNormalizer::buildErrorObjects function core/modules/jsonapi/src/Normalizer/EntityAccessDeniedHttpExceptionNormalizer.php Builds the normalized JSON:API error objects for the response.
EntityAccessDeniedHttpExceptionNormalizer::getSupportedTypes function core/modules/jsonapi/src/Normalizer/EntityAccessDeniedHttpExceptionNormalizer.php
EntityDenormalizerBase class core/modules/jsonapi/src/Normalizer/EntityDenormalizerBase.php Converts the Drupal entity object to a JSON:API array structure.
EntityDenormalizerBase.php file core/modules/jsonapi/src/Normalizer/EntityDenormalizerBase.php
EntityDenormalizerBase::$entityTypeManager property core/modules/jsonapi/src/Normalizer/EntityDenormalizerBase.php The entity type manager.
EntityDenormalizerBase::$fieldManager property core/modules/jsonapi/src/Normalizer/EntityDenormalizerBase.php The entity field manager.
EntityDenormalizerBase::$pluginManager property core/modules/jsonapi/src/Normalizer/EntityDenormalizerBase.php The field plugin manager.
EntityDenormalizerBase::$resourceTypeRepository property core/modules/jsonapi/src/Normalizer/EntityDenormalizerBase.php The JSON:API resource type repository.
EntityDenormalizerBase::denormalize function core/modules/jsonapi/src/Normalizer/EntityDenormalizerBase.php
EntityDenormalizerBase::normalize function core/modules/jsonapi/src/Normalizer/EntityDenormalizerBase.php
EntityDenormalizerBase::prepareInput function core/modules/jsonapi/src/Normalizer/EntityDenormalizerBase.php Prepares the input data to create the entity.
EntityDenormalizerBase::supportsNormalization function core/modules/jsonapi/src/Normalizer/EntityDenormalizerBase.php
EntityDenormalizerBase::__construct function core/modules/jsonapi/src/Normalizer/EntityDenormalizerBase.php Constructs an EntityDenormalizerBase object.
EntityFormDisplayResourceTestBase::getExpectedNormalizedEntity function core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayResourceTestBase.php Returns the expected normalization of the entity.
EntityFormDisplayResourceTestBase::getNormalizedPostEntity function core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayResourceTestBase.php Returns the normalized POST entity.
EntityFormModeResourceTestBase::getExpectedNormalizedEntity function core/tests/Drupal/FunctionalTests/Rest/EntityFormModeResourceTestBase.php Returns the expected normalization of the entity.
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::denormalize function core/modules/serialization/src/Normalizer/EntityNormalizer.php
EntityNormalizer::getSupportedTypes 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.
EntityReference::alternateWidgetsDefaultNormalize function core/modules/views/src/Plugin/views/filter/EntityReference.php Normalize values for widget switching.
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::constructValue function core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizer.php Build the field item value using the incoming data.
EntityReferenceFieldItemNormalizer::getSupportedTypes function core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizer.php
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

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