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
NormalizerBase::$format property core/modules/serialization/src/Normalizer/NormalizerBase.php List of formats which supports (de-)normalization.
NormalizerBase::$supportedInterfaceOrClass property core/modules/serialization/src/Normalizer/NormalizerBase.php The interface or class that this Normalizer supports.
NormalizerBase::addCacheableDependency function core/modules/serialization/src/Normalizer/NormalizerBase.php Adds cacheability if applicable.
NormalizerBase::checkFormat function core/modules/jsonapi/src/Normalizer/NormalizerBase.php Checks if the provided format is supported by this normalizer.
NormalizerBase::checkFormat function core/modules/serialization/src/Normalizer/NormalizerBase.php Checks if the provided format is supported by this normalizer.
NormalizerBase::hasCacheableSupportsMethod function core/modules/serialization/src/Normalizer/NormalizerBase.php
NormalizerBase::rasterizeValueRecursive function core/modules/jsonapi/src/Normalizer/NormalizerBase.php Rasterizes a value recursively.
NormalizerBase::supportsDenormalization function core/modules/serialization/src/Normalizer/NormalizerBase.php Implements \Symfony\Component\Serializer\Normalizer\DenormalizerInterface::supportsDenormalization()
NormalizerBase::supportsNormalization function core/modules/serialization/src/Normalizer/NormalizerBase.php
NormalizerBaseTest class core/modules/serialization/tests/src/Unit/Normalizer/NormalizerBaseTest.php @coversDefaultClass \Drupal\serialization\Normalizer\NormalizerBase
@group serialization
NormalizerBaseTest.php file core/modules/serialization/tests/src/Unit/Normalizer/NormalizerBaseTest.php Contains \Drupal\Tests\serialization\Unit\Normalizer\NormalizerBaseTest.
NormalizerBaseTest::providerTestSupportsNormalization function core/modules/serialization/tests/src/Unit/Normalizer/NormalizerBaseTest.php Data provider for testSupportsNormalization.
NormalizerBaseTest::testSupportsNormalization function core/modules/serialization/tests/src/Unit/Normalizer/NormalizerBaseTest.php Tests the supportsNormalization method.
NormalizerTestBase class core/modules/serialization/tests/src/Kernel/NormalizerTestBase.php Helper base class to set up some test fields for serialization testing.
NormalizerTestBase class core/modules/hal/tests/src/Kernel/NormalizerTestBase.php Test the HAL normalizer.
NormalizerTestBase.php file core/modules/serialization/tests/src/Kernel/NormalizerTestBase.php
NormalizerTestBase.php file core/modules/hal/tests/src/Kernel/NormalizerTestBase.php
NormalizerTestBase::$entityClass property core/modules/hal/tests/src/Kernel/NormalizerTestBase.php The class name of the test class.
NormalizerTestBase::$format property core/modules/hal/tests/src/Kernel/NormalizerTestBase.php The format being tested.
NormalizerTestBase::$modules property core/modules/serialization/tests/src/Kernel/NormalizerTestBase.php Modules to enable.
NormalizerTestBase::$modules property core/modules/hal/tests/src/Kernel/NormalizerTestBase.php Modules to enable.
NormalizerTestBase::$serializer property core/modules/hal/tests/src/Kernel/NormalizerTestBase.php The mock serializer.
NormalizerTestBase::setUp function core/modules/serialization/tests/src/Kernel/NormalizerTestBase.php
NormalizerTestBase::setUp function core/modules/hal/tests/src/Kernel/NormalizerTestBase.php
NormalizeTest class core/modules/hal/tests/src/Kernel/NormalizeTest.php Tests HAL normalization edge cases for EntityResource.
NormalizeTest.php file core/modules/hal/tests/src/Kernel/NormalizeTest.php
NormalizeTest::getEntityUri function core/modules/hal/tests/src/Kernel/NormalizeTest.php Constructs the entity URI.
NormalizeTest::setUp function core/modules/hal/tests/src/Kernel/NormalizeTest.php
NormalizeTest::testNormalize function core/modules/hal/tests/src/Kernel/NormalizeTest.php Tests the normalize function.
NullNormalizer class core/modules/serialization/src/Normalizer/NullNormalizer.php Null normalizer.
NullNormalizer.php file core/modules/serialization/src/Normalizer/NullNormalizer.php
NullNormalizer::normalize function core/modules/serialization/src/Normalizer/NullNormalizer.php
NullNormalizer::__construct function core/modules/serialization/src/Normalizer/NullNormalizer.php Constructs a NullNormalizer object.
NullNormalizerTest class core/modules/serialization/tests/src/Unit/Normalizer/NullNormalizerTest.php @coversDefaultClass \Drupal\serialization\Normalizer\NullNormalizer
@group serialization
NullNormalizerTest.php file core/modules/serialization/tests/src/Unit/Normalizer/NullNormalizerTest.php
NullNormalizerTest::$interface property core/modules/serialization/tests/src/Unit/Normalizer/NullNormalizerTest.php The interface to use in testing.
NullNormalizerTest::$normalizer property core/modules/serialization/tests/src/Unit/Normalizer/NullNormalizerTest.php The NullNormalizer instance.
NullNormalizerTest::setUp function core/modules/serialization/tests/src/Unit/Normalizer/NullNormalizerTest.php
NullNormalizerTest::testNormalize function core/modules/serialization/tests/src/Unit/Normalizer/NullNormalizerTest.php @covers ::normalize
NullNormalizerTest::testSupportsNormalization function core/modules/serialization/tests/src/Unit/Normalizer/NullNormalizerTest.php @covers ::__construct
@covers ::supportsNormalization
OperationData::normalizeScaffoldMetadata function composer/Plugin/Scaffold/Operations/OperationData.php Normalizes metadata by converting literal values into arrays.
PathAliasHalJsonTestBase::getExpectedNormalizedEntity function core/modules/hal/tests/src/Functional/path_alias/PathAliasHalJsonTestBase.php Returns the expected normalization of the entity.
PathAliasHalJsonTestBase::getNormalizedPostEntity function core/modules/hal/tests/src/Functional/path_alias/PathAliasHalJsonTestBase.php Returns the normalized POST entity.
PathAliasResourceTestBase::getExpectedNormalizedEntity function core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php Returns the expected normalization of the entity.
PathAliasResourceTestBase::getNormalizedPostEntity function core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php Returns the normalized POST entity.
PhpBackend::normalizeCid function core/lib/Drupal/Core/Cache/PhpBackend.php Ensures a normalized cache ID.
PrimitiveDataNormalizer class core/modules/serialization/src/Normalizer/PrimitiveDataNormalizer.php Converts primitive data objects to their casted values.
PrimitiveDataNormalizer.php file core/modules/serialization/src/Normalizer/PrimitiveDataNormalizer.php
PrimitiveDataNormalizer::$supportedInterfaceOrClass property core/modules/serialization/src/Normalizer/PrimitiveDataNormalizer.php The interface or class that this Normalizer supports.
PrimitiveDataNormalizer::hasCacheableSupportsMethod function core/modules/serialization/src/Normalizer/PrimitiveDataNormalizer.php

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