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 11.x for normalize
  5. Other projects
Title Object type File name Summary
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::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 Converts typed data objects to arrays.
TypedDataNormalizer.php file core/modules/serialization/src/Normalizer/TypedDataNormalizer.php
TypedDataNormalizer::getSupportedTypes function core/modules/serialization/src/Normalizer/TypedDataNormalizer.php
TypedDataNormalizer::hasCacheableSupportsMethod function core/modules/serialization/src/Normalizer/TypedDataNormalizer.php
TypedDataNormalizer::normalize 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
TypedDataNormalizerTest::$normalizer property core/modules/serialization/tests/src/Unit/Normalizer/TypedDataNormalizerTest.php The TypedDataNormalizer instance.
TypedDataNormalizerTest::$typedData property core/modules/serialization/tests/src/Unit/Normalizer/TypedDataNormalizerTest.php The mock typed data instance.
TypedDataNormalizerTest::setUp function core/modules/serialization/tests/src/Unit/Normalizer/TypedDataNormalizerTest.php
TypedDataNormalizerTest::testNormalize function core/modules/serialization/tests/src/Unit/Normalizer/TypedDataNormalizerTest.php Tests the normalize() method.
TypedDataNormalizerTest::testSupportsNormalization function core/modules/serialization/tests/src/Unit/Normalizer/TypedDataNormalizerTest.php Tests the supportsNormalization() method.
UnprocessableHttpEntityExceptionNormalizer class core/modules/jsonapi/src/Normalizer/UnprocessableHttpEntityExceptionNormalizer.php Normalizes and UnprocessableHttpEntityException.
UnprocessableHttpEntityExceptionNormalizer.php file core/modules/jsonapi/src/Normalizer/UnprocessableHttpEntityExceptionNormalizer.php
UnprocessableHttpEntityExceptionNormalizer::buildErrorObjects function core/modules/jsonapi/src/Normalizer/UnprocessableHttpEntityExceptionNormalizer.php Builds the normalized JSON:API error objects for the response.

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