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
LinkCollectionNormalizerTest class core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php @coversDefaultClass \Drupal\jsonapi\Normalizer\LinkCollectionNormalizer
@group jsonapi
LinkCollectionNormalizerTest.php file core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php
LinkCollectionNormalizerTest::$modules property core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php Modules to install.
LinkCollectionNormalizerTest::$normalizer property core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php The subject under test.
LinkCollectionNormalizerTest::$serializer property core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php The serializer.
LinkCollectionNormalizerTest::$testUsers property core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php Test users.
LinkCollectionNormalizerTest::getNormalizer function core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php Get an instance of the normalizer to test.
LinkCollectionNormalizerTest::linkAccessTestData function core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php Provides test cases for testing link access checking.
LinkCollectionNormalizerTest::setUp function core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php
LinkCollectionNormalizerTest::testLinkAccess function core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php Tests the link collection normalizer.
LinkCollectionNormalizerTest::testNormalize function core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php Tests the link collection normalizer.
ListNormalizer class core/modules/serialization/src/Normalizer/ListNormalizer.php Converts list objects to arrays.
ListNormalizer.php file core/modules/serialization/src/Normalizer/ListNormalizer.php
ListNormalizer::getSupportedTypes function core/modules/serialization/src/Normalizer/ListNormalizer.php
ListNormalizer::normalize function core/modules/serialization/src/Normalizer/ListNormalizer.php
ListNormalizerTest class core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php @coversDefaultClass \Drupal\serialization\Normalizer\ListNormalizer
@group serialization
ListNormalizerTest.php file core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php
ListNormalizerTest::$expectedListValues property core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php The expected list values to use for testing.
ListNormalizerTest::$list property core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php The mock list instance.
ListNormalizerTest::$normalizer property core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php The ListNormalizer instance.
ListNormalizerTest::$typedData property core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php The mocked typed data.
ListNormalizerTest::setUp function core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php
ListNormalizerTest::testNormalize function core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php Tests the normalize() method.
ListNormalizerTest::testSupportsNormalization function core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php Tests the supportsNormalization() method.
MapDataNormalizerTest class core/modules/serialization/tests/src/Kernel/MapDataNormalizerTest.php @group TypedData
MapDataNormalizerTest.php file core/modules/serialization/tests/src/Kernel/MapDataNormalizerTest.php
MapDataNormalizerTest::$modules property core/modules/serialization/tests/src/Kernel/MapDataNormalizerTest.php Modules to install.
MapDataNormalizerTest::$serializer property core/modules/serialization/tests/src/Kernel/MapDataNormalizerTest.php The serializer service.
MapDataNormalizerTest::$typedDataManager property core/modules/serialization/tests/src/Kernel/MapDataNormalizerTest.php The typed data manager.
MapDataNormalizerTest::buildExampleTypedData function core/modules/serialization/tests/src/Kernel/MapDataNormalizerTest.php Builds some example typed data object with no properties.
MapDataNormalizerTest::buildExampleTypedDataWithProperties function core/modules/serialization/tests/src/Kernel/MapDataNormalizerTest.php Builds some example typed data object with properties.
MapDataNormalizerTest::setUp function core/modules/serialization/tests/src/Kernel/MapDataNormalizerTest.php
MapDataNormalizerTest::testMapNormalize function core/modules/serialization/tests/src/Kernel/MapDataNormalizerTest.php Tests whether map data can be normalized.
MapDataNormalizerTest::testMapWithPropertiesNormalize function core/modules/serialization/tests/src/Kernel/MapDataNormalizerTest.php Tests whether map data with properties can be normalized.
MarkupNormalizer class core/modules/serialization/src/Normalizer/MarkupNormalizer.php Normalizes MarkupInterface objects into a string.
MarkupNormalizer.php file core/modules/serialization/src/Normalizer/MarkupNormalizer.php
MarkupNormalizer::doNormalize function core/modules/serialization/src/Normalizer/MarkupNormalizer.php Normalizes an object into a set of arrays/scalars.
MarkupNormalizer::getNormalizationSchema function core/modules/serialization/src/Normalizer/MarkupNormalizer.php Retrieve JSON Schema for the normalization.
MarkupNormalizer::getSupportedTypes function core/modules/serialization/src/Normalizer/MarkupNormalizer.php
MarkupNormalizerTest class core/modules/serialization/tests/src/Unit/Normalizer/MarkupNormalizerTest.php @coversDefaultClass \Drupal\serialization\Normalizer\MarkupNormalizer
@group serialization
MarkupNormalizerTest.php file core/modules/serialization/tests/src/Unit/Normalizer/MarkupNormalizerTest.php
MarkupNormalizerTest::$normalizer property core/modules/serialization/tests/src/Unit/Normalizer/MarkupNormalizerTest.php The TypedDataNormalizer instance.
MarkupNormalizerTest::jsonSchemaDataProvider function core/modules/serialization/tests/src/Unit/Normalizer/MarkupNormalizerTest.php Data provider for ::testNormalizedValuesAgainstJsonSchema.
MarkupNormalizerTest::setUp function core/modules/serialization/tests/src/Unit/Normalizer/MarkupNormalizerTest.php
MarkupNormalizerTest::testDelegatedSchemaDiscovery function core/modules/serialization/tests/src/Unit/Normalizer/MarkupNormalizerTest.php Test the normalizer properly delegates schema discovery to its subject.
MediaResourceTestBase::getExpectedNormalizedEntity function core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php Returns the expected normalization of the entity.
MediaResourceTestBase::getExpectedNormalizedFileEntity function core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php Gets the expected file entity.
MediaResourceTestBase::getNormalizedPatchEntity function core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php Returns the normalized PATCH entity.
MediaResourceTestBase::getNormalizedPostEntity function core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php Returns the normalized POST entity.
MediaTypeResourceTestBase::getExpectedNormalizedEntity function core/modules/media/tests/src/Functional/Rest/MediaTypeResourceTestBase.php Returns the expected normalization of the entity.

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