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
TextItemSillyNormalizer::getSupportedTypes function core/modules/serialization/tests/modules/field_normalization_test/src/Normalization/TextItemSillyNormalizer.php
TextItemSillyNormalizer::normalize function core/modules/serialization/tests/modules/field_normalization_test/src/Normalization/TextItemSillyNormalizer.php
TimestampItemNormalizer class core/modules/serialization/src/Normalizer/TimestampItemNormalizer.php Converts values for TimestampItem to and from common formats.
TimestampItemNormalizer.php file core/modules/serialization/src/Normalizer/TimestampItemNormalizer.php
TimestampItemNormalizer::constructValue function core/modules/serialization/src/Normalizer/TimestampItemNormalizer.php Build the field item value using the incoming data.
TimestampItemNormalizer::getSupportedTypes function core/modules/serialization/src/Normalizer/TimestampItemNormalizer.php
TimestampItemNormalizer::normalize function core/modules/serialization/src/Normalizer/TimestampItemNormalizer.php
TimestampItemNormalizerTest class core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php Tests that TimestampItem (de)normalization uses Timestamp (de)normalization.
TimestampItemNormalizerTest.php file core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php
TimestampItemNormalizerTest::$item property core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php The test TimestampItem.
TimestampItemNormalizerTest::$normalizer property core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php
TimestampItemNormalizerTest::createTimestampItemProphecy function core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php Creates a TimestampItem prophecy.
TimestampItemNormalizerTest::setUp function core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php
TimestampItemNormalizerTest::testDenormalize function core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php @covers ::denormalize
TimestampItemNormalizerTest::testNormalize function core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php @covers ::normalize
TimestampItemNormalizerTest::testSupportsDenormalization function core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php @covers ::supportsDenormalization
TimestampItemNormalizerTest::testSupportsNormalization function core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php @covers ::supportsNormalization
TimestampNormalizer class core/modules/serialization/src/Normalizer/TimestampNormalizer.php Converts values for the Timestamp data type to and from common formats.
TimestampNormalizer.php file core/modules/serialization/src/Normalizer/TimestampNormalizer.php
TimestampNormalizer::$allowedFormats property core/modules/serialization/src/Normalizer/TimestampNormalizer.php Allowed datetime formats for the denormalizer.
TimestampNormalizer::denormalize function core/modules/serialization/src/Normalizer/TimestampNormalizer.php
TimestampNormalizer::getNormalizationTimezone function core/modules/serialization/src/Normalizer/TimestampNormalizer.php Gets the timezone to be used during normalization.
TimestampNormalizer::getSupportedTypes function core/modules/serialization/src/Normalizer/TimestampNormalizer.php
TimestampNormalizerTest class core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php Unit test coverage for the "Timestamp" @DataType.
TimestampNormalizerTest.php file core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php
TimestampNormalizerTest::$data property core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php The tested data type.
TimestampNormalizerTest::$normalizer property core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php The tested data type's normalizer.
TimestampNormalizerTest::jsonSchemaDataProvider function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php Data provider for ::testNormalizedValuesAgainstJsonSchema.
TimestampNormalizerTest::providerTestDenormalizeValidFormats function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php Data provider for testDenormalizeValidFormats.
TimestampNormalizerTest::setUp function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php
TimestampNormalizerTest::testDenormalizeException function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php Tests the denormalize function with bad data.
TimestampNormalizerTest::testDenormalizeValidFormats function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php Tests the denormalize function with good data.
TimestampNormalizerTest::testNormalize function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php @covers ::normalize
TimestampNormalizerTest::testSupportsDenormalization function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php @covers ::supportsDenormalization
TimestampNormalizerTest::testSupportsNormalization function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php @covers ::supportsNormalization
TimestampNormalizerTestDrupalDateTime class core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php Provides a test class for testing DrupalDateTime.
TimestampNormalizerTestDrupalDateTime::setTimezone function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php
TourResourceTestBase::getExpectedNormalizedEntity function core/modules/tour/tests/src/Functional/Rest/TourResourceTestBase.php Returns the expected normalization of the entity.
TourResourceTestBase::getNormalizedPostEntity function core/modules/tour/tests/src/Functional/Rest/TourResourceTestBase.php Returns the normalized POST entity.
TraversableObjectNormalizer class core/modules/jsonapi/tests/modules/jsonapi_test_data_type/src/Normalizer/TraversableObjectNormalizer.php Normalizes TraversableObject.
TraversableObjectNormalizer.php file core/modules/jsonapi/tests/modules/jsonapi_test_data_type/src/Normalizer/TraversableObjectNormalizer.php
TraversableObjectNormalizer::getSupportedTypes function core/modules/jsonapi/tests/modules/jsonapi_test_data_type/src/Normalizer/TraversableObjectNormalizer.php
TraversableObjectNormalizer::normalize function core/modules/jsonapi/tests/modules/jsonapi_test_data_type/src/Normalizer/TraversableObjectNormalizer.php
TypedDataNormalizer class core/modules/serialization/src/Normalizer/TypedDataNormalizer.php Normalizes typed data objects into strings or arrays.
TypedDataNormalizer.php file core/modules/serialization/src/Normalizer/TypedDataNormalizer.php
TypedDataNormalizer::doNormalize function core/modules/serialization/src/Normalizer/TypedDataNormalizer.php Normalizes an object into a set of arrays/scalars.
TypedDataNormalizer::getNormalizationSchema function core/modules/serialization/src/Normalizer/TypedDataNormalizer.php Retrieve JSON Schema for the normalization.
TypedDataNormalizer::getSupportedTypes function core/modules/serialization/src/Normalizer/TypedDataNormalizer.php
TypedDataNormalizerTest class core/modules/serialization/tests/src/Unit/Normalizer/TypedDataNormalizerTest.php @coversDefaultClass \Drupal\serialization\Normalizer\TypedDataNormalizer
@group serialization
TypedDataNormalizerTest.php file core/modules/serialization/tests/src/Unit/Normalizer/TypedDataNormalizerTest.php

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