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
DateFormatResourceTestBase::getExpectedNormalizedEntity function core/tests/Drupal/FunctionalTests/Rest/DateFormatResourceTestBase.php Returns the expected normalization of the entity.
DateFormatResourceTestBase::getNormalizedPostEntity function core/tests/Drupal/FunctionalTests/Rest/DateFormatResourceTestBase.php Returns the normalized POST entity.
DateTimeIso8601Normalizer class core/modules/serialization/src/Normalizer/DateTimeIso8601Normalizer.php Converts values for the DateTimeIso8601 data type to RFC3339.
DateTimeIso8601Normalizer.php file core/modules/serialization/src/Normalizer/DateTimeIso8601Normalizer.php
DateTimeIso8601Normalizer::$allowedFormats property core/modules/serialization/src/Normalizer/DateTimeIso8601Normalizer.php Allowed datetime formats for the denormalizer.
DateTimeIso8601Normalizer::denormalize function core/modules/serialization/src/Normalizer/DateTimeIso8601Normalizer.php
DateTimeIso8601Normalizer::getSupportedTypes function core/modules/serialization/src/Normalizer/DateTimeIso8601Normalizer.php
DateTimeIso8601Normalizer::normalize function core/modules/serialization/src/Normalizer/DateTimeIso8601Normalizer.php
DateTimeIso8601NormalizerTest class core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php Unit test coverage for the "datetime_iso8601" @DataType.
DateTimeIso8601NormalizerTest.php file core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php
DateTimeIso8601NormalizerTest::$data property core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php The tested data type.
DateTimeIso8601NormalizerTest::$normalizer property core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php The tested data type's normalizer.
DateTimeIso8601NormalizerTest::providerTestDenormalizeValidFormats function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php Data provider for testDenormalizeValidFormats.
DateTimeIso8601NormalizerTest::providerTestNormalize function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php Data provider for testNormalize.
DateTimeIso8601NormalizerTest::setUp function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php
DateTimeIso8601NormalizerTest::testDenormalizeDateAndTimeException function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php Tests the denormalize function with bad data for the date+time case.
DateTimeIso8601NormalizerTest::testDenormalizeDateOnlyException function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php Tests the denormalize function with bad data for the date-only case.
DateTimeIso8601NormalizerTest::testDenormalizeNoTargetInstanceOrFieldDefinitionException function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php Tests the denormalize function with incomplete serialization context.
DateTimeIso8601NormalizerTest::testDenormalizeValidFormats function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php Tests the denormalize function with good data.
DateTimeIso8601NormalizerTest::testNormalize function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php @covers ::normalize
@dataProvider providerTestNormalize
DateTimeIso8601NormalizerTest::testNormalizeWhenNull function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php @covers ::normalize
@dataProvider providerTestNormalize
DateTimeIso8601NormalizerTest::testSupportsDenormalization function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php @covers ::supportsDenormalization
DateTimeIso8601NormalizerTest::testSupportsNormalization function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php @covers ::supportsNormalization
DateTimeIso8601NormalizerTestDrupalDateTime class core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php Provides a test class for testing DrupalDateTime.
DateTimeIso8601NormalizerTestDrupalDateTime::setTimezone function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php
DateTimeNormalizer class core/modules/serialization/src/Normalizer/DateTimeNormalizer.php Converts values for datetime objects to RFC3339 and from common formats.
DateTimeNormalizer.php file core/modules/serialization/src/Normalizer/DateTimeNormalizer.php
DateTimeNormalizer::$allowedFormats property core/modules/serialization/src/Normalizer/DateTimeNormalizer.php Allowed datetime formats for the denormalizer.
DateTimeNormalizer::$systemDateConfig property core/modules/serialization/src/Normalizer/DateTimeNormalizer.php The system's date configuration.
DateTimeNormalizer::denormalize function core/modules/serialization/src/Normalizer/DateTimeNormalizer.php
DateTimeNormalizer::getNormalizationTimezone function core/modules/serialization/src/Normalizer/DateTimeNormalizer.php Gets the timezone to be used during normalization.
DateTimeNormalizer::getSupportedTypes function core/modules/serialization/src/Normalizer/DateTimeNormalizer.php
DateTimeNormalizer::normalize function core/modules/serialization/src/Normalizer/DateTimeNormalizer.php
DateTimeNormalizer::__construct function core/modules/serialization/src/Normalizer/DateTimeNormalizer.php Constructs a new DateTimeNormalizer instance.
DateTimeNormalizerTest class core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php Unit test coverage for @DataTypes implementing DateTimeInterface.
DateTimeNormalizerTest.php file core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php
DateTimeNormalizerTest::$data property core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php The tested data type.
DateTimeNormalizerTest::$normalizer property core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php The tested data type's normalizer.
DateTimeNormalizerTest::providerTestDenormalizeUserFormats function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php Data provider for testDenormalizeUserFormats.
DateTimeNormalizerTest::providerTestDenormalizeValidFormats function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php Data provider for testDenormalizeValidFormats.
DateTimeNormalizerTest::setUp function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php
DateTimeNormalizerTest::testDenormalizeException function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php Tests the denormalize function with bad data.
DateTimeNormalizerTest::testDenormalizeUserFormats function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php Tests the denormalize function with a user supplied format.
DateTimeNormalizerTest::testDenormalizeValidFormats function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php Tests the denormalize function with good data.
DateTimeNormalizerTest::testNormalize function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php @covers ::normalize
DateTimeNormalizerTest::testNormalizeWhenNull function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php @covers ::normalize
DateTimeNormalizerTest::testSupportsDenormalization function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php @covers ::supportsDenormalization
DateTimeNormalizerTest::testSupportsNormalization function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php @covers ::supportsNormalization
DateTimeNormalizerTestDrupalDateTime class core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php Provides a test class for testing DrupalDateTime.
DateTimeNormalizerTestDrupalDateTime::setTimezone function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php

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