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
ActionResourceTestBase::getExpectedNormalizedEntity function core/modules/action/tests/src/Functional/Rest/ActionResourceTestBase.php Returns the expected normalization of the entity.
ActionResourceTestBase::getExpectedNormalizedEntity function core/modules/system/tests/src/Functional/Rest/ActionResourceTestBase.php Returns the expected normalization of the entity.
ActionResourceTestBase::getNormalizedPostEntity function core/modules/action/tests/src/Functional/Rest/ActionResourceTestBase.php Returns the normalized POST entity.
ActionResourceTestBase::getNormalizedPostEntity function core/modules/system/tests/src/Functional/Rest/ActionResourceTestBase.php Returns the normalized POST entity.
BaseFieldOverrideResourceTestBase::getExpectedNormalizedEntity function core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideResourceTestBase.php Returns the expected normalization of the entity.
BaseFieldOverrideResourceTestBase::getNormalizedPostEntity function core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideResourceTestBase.php Returns the normalized POST entity.
BlockContentResourceTestBase::getExpectedNormalizedEntity function core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php Returns the expected normalization of the entity.
BlockContentResourceTestBase::getNormalizedPostEntity function core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php Returns the normalized POST entity.
BlockContentTypeResourceTestBase::getExpectedNormalizedEntity function core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeResourceTestBase.php Returns the expected normalization of the entity.
BlockContentTypeResourceTestBase::getNormalizedPostEntity function core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeResourceTestBase.php Returns the normalized POST entity.
BlockResourceTestBase::getExpectedNormalizedEntity function core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php Returns the expected normalization of the entity.
BlockResourceTestBase::getNormalizedPostEntity function core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php Returns the normalized POST entity.
BooleanItemNormalizer class core/modules/serialization/tests/modules/test_fieldtype_boolean_emoji_normalizer/src/Normalizer/BooleanItemNormalizer.php Normalizes boolean fields weirdly: renders them as 👍 (TRUE) or 👎 (FALSE).
BooleanItemNormalizer.php file core/modules/serialization/tests/modules/test_fieldtype_boolean_emoji_normalizer/src/Normalizer/BooleanItemNormalizer.php
BooleanItemNormalizer::constructValue function core/modules/serialization/tests/modules/test_fieldtype_boolean_emoji_normalizer/src/Normalizer/BooleanItemNormalizer.php Build the field item value using the incoming data.
BooleanItemNormalizer::getSupportedTypes function core/modules/serialization/tests/modules/test_fieldtype_boolean_emoji_normalizer/src/Normalizer/BooleanItemNormalizer.php
BooleanItemNormalizer::normalize function core/modules/serialization/tests/modules/test_fieldtype_boolean_emoji_normalizer/src/Normalizer/BooleanItemNormalizer.php
BooleanNormalizer class core/modules/serialization/tests/modules/test_datatype_boolean_emoji_normalizer/src/Normalizer/BooleanNormalizer.php Normalizes boolean data weirdly: renders them as 👍 (TRUE) or 👎 (FALSE).
BooleanNormalizer.php file core/modules/serialization/tests/modules/test_datatype_boolean_emoji_normalizer/src/Normalizer/BooleanNormalizer.php
BooleanNormalizer::denormalize function core/modules/serialization/tests/modules/test_datatype_boolean_emoji_normalizer/src/Normalizer/BooleanNormalizer.php
BooleanNormalizer::getSupportedTypes function core/modules/serialization/tests/modules/test_datatype_boolean_emoji_normalizer/src/Normalizer/BooleanNormalizer.php
BooleanNormalizer::normalize function core/modules/serialization/tests/modules/test_datatype_boolean_emoji_normalizer/src/Normalizer/BooleanNormalizer.php
CacheableNormalizerInterface interface core/modules/serialization/src/Normalizer/CacheableNormalizerInterface.php Defines the interface for normalizers producing cacheable normalizations.
CacheableNormalizerInterface.php file core/modules/serialization/src/Normalizer/CacheableNormalizerInterface.php
CacheableNormalizerInterface::SERIALIZATION_CONTEXT_CACHEABILITY constant core/modules/serialization/src/Normalizer/CacheableNormalizerInterface.php Name of key for bubbling cacheability metadata via serialization context.
ChainEntityResolverTest::$testNormalizer property core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php A mocked normalizer.
Color::normalizeHexLength function core/lib/Drupal/Component/Utility/Color.php Normalize the hex color length to 6 characters for comparison.
ColorTest::providerTestNormalizeHexLength function core/tests/Drupal/Tests/Component/Utility/ColorTest.php Data provider for testNormalizeHexLength().
ColorTest::testNormalizeHexLength function core/tests/Drupal/Tests/Component/Utility/ColorTest.php Tests Color::normalizeHexLength().
CommentResourceTestBase::getExpectedNormalizedEntity function core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php Returns the expected normalization of the entity.
CommentResourceTestBase::getNormalizedPatchEntity function core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php Returns the normalized PATCH entity.
CommentResourceTestBase::getNormalizedPostEntity function core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php Returns the normalized POST entity.
CommentTypeResourceTestBase::getExpectedNormalizedEntity function core/modules/comment/tests/src/Functional/Rest/CommentTypeResourceTestBase.php Returns the expected normalization of the entity.
CommentTypeResourceTestBase::getNormalizedPostEntity function core/modules/comment/tests/src/Functional/Rest/CommentTypeResourceTestBase.php Returns the normalized POST entity.
ComplexDataNormalizer class core/modules/serialization/src/Normalizer/ComplexDataNormalizer.php Converts the Drupal entity object structures to a normalized array.
ComplexDataNormalizer.php file core/modules/serialization/src/Normalizer/ComplexDataNormalizer.php
ComplexDataNormalizer::getSupportedTypes function core/modules/serialization/src/Normalizer/ComplexDataNormalizer.php
ComplexDataNormalizer::normalize function core/modules/serialization/src/Normalizer/ComplexDataNormalizer.php
ComplexDataNormalizerTest class core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php @coversDefaultClass \Drupal\serialization\Normalizer\ComplexDataNormalizer
@group serialization
ComplexDataNormalizerTest.php file core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php
ComplexDataNormalizerTest::$normalizer property core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php The Complex data normalizer under test.
ComplexDataNormalizerTest::setUp function core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php
ComplexDataNormalizerTest::testNormalizeComplexData function core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php Tests normalizing complex data.
ComplexDataNormalizerTest::testNormalizeNonComplex function core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php Tests normalize() where $object does not implement ComplexDataInterface.
ComplexDataNormalizerTest::testSupportsNormalization function core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php @covers ::supportsNormalization
ComplexDataNormalizerTest::TEST_FORMAT constant core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php Test format string.
ComponentMetadata::normalize function core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php Normalizes the value object.
ComponentMetadata::normalize function core/modules/sdc/src/Component/ComponentMetadata.php Normalizes the value object.
ComposerPluginsValidator::normalizePackageName function core/modules/package_manager/src/Validator/ComposerPluginsValidator.php Normalizes a package name.
ConfigEntityDenormalizer class core/modules/jsonapi/src/Normalizer/ConfigEntityDenormalizer.php Converts the Drupal config entity object to a JSON:API array structure.

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