Search for normalize

  1. Search 7.x for normalize
  2. Search 9.5.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
TimeStampItemNormalizerTraitDeprecatedTestClass.php file core/modules/serialization/tests/serialization_test/src/TimeStampItemNormalizerTraitDeprecatedTestClass.php
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::$supportedInterfaceOrClass property core/modules/serialization/src/Normalizer/TimestampNormalizer.php The interface or class that this Normalizer supports.
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.
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 Note: Prophecy does not support magic methods. By subclassing and specifying
an explicit method, Prophecy works.
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::$supportedInterfaceOrClass property core/modules/jsonapi/tests/modules/jsonapi_test_data_type/src/Normalizer/TraversableObjectNormalizer.php The interface or class that this Normalizer supports.
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::$supportedInterfaceOrClass property core/modules/serialization/src/Normalizer/TypedDataNormalizer.php The interface or class that this Normalizer supports.
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::$supportedInterfaceOrClass property core/modules/jsonapi/src/Normalizer/UnprocessableHttpEntityExceptionNormalizer.php The interface or class that this Normalizer supports.
UnprocessableHttpEntityExceptionNormalizer::buildErrorObjects function core/modules/jsonapi/src/Normalizer/UnprocessableHttpEntityExceptionNormalizer.php Builds the normalized JSON:API error objects for the response.
UserHalJsonAnonTest::getExpectedNormalizedEntity function core/modules/user/tests/src/Functional/Hal/UserHalJsonAnonTest.php Returns the expected normalization of the entity.
UserHalJsonAnonTest::getNormalizedPostEntity function core/modules/user/tests/src/Functional/Hal/UserHalJsonAnonTest.php Returns the normalized POST entity.
UserResourceTestBase::getExpectedNormalizedEntity function core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php Returns the expected normalization of the entity.
UserResourceTestBase::getNormalizedPostEntity function core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php Returns the normalized POST entity.
ViewResourceTestBase::getExpectedNormalizedEntity function core/modules/views/tests/src/Functional/Rest/ViewResourceTestBase.php Returns the expected normalization of the entity.
ViewResourceTestBase::getNormalizedPostEntity function core/modules/views/tests/src/Functional/Rest/ViewResourceTestBase.php Returns the normalized POST entity.
VocabularyResourceTestBase::getExpectedNormalizedEntity function core/modules/taxonomy/tests/src/Functional/Rest/VocabularyResourceTestBase.php Returns the expected normalization of the entity.
VocabularyResourceTestBase::getNormalizedPostEntity function core/modules/taxonomy/tests/src/Functional/Rest/VocabularyResourceTestBase.php Returns the normalized POST entity.
WorkflowResourceTestBase::getExpectedNormalizedEntity function core/modules/workflows/tests/src/Functional/Rest/WorkflowResourceTestBase.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.