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
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::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.
UnprocessableHttpEntityExceptionNormalizer::getSupportedTypes function core/modules/jsonapi/src/Normalizer/UnprocessableHttpEntityExceptionNormalizer.php
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.
WorkflowResourceTestBase::getNormalizedPostEntity function core/modules/workflows/tests/src/Functional/Rest/WorkflowResourceTestBase.php Returns the normalized POST entity.
WorkspaceResourceTestBase::getExpectedNormalizedEntity function core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceResourceTestBase.php Returns the expected normalization of the entity.
WorkspaceResourceTestBase::getExpectedNormalizedEntity function core/modules/workspaces/tests/src/Functional/Rest/WorkspaceResourceTestBase.php Returns the expected normalization of the entity.
WorkspaceResourceTestBase::getNormalizedPatchEntity function core/modules/workspaces/tests/src/Functional/Rest/WorkspaceResourceTestBase.php Returns the normalized PATCH entity.
WorkspaceResourceTestBase::getNormalizedPatchEntity function core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceResourceTestBase.php Returns the normalized PATCH entity.
WorkspaceResourceTestBase::getNormalizedPostEntity function core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceResourceTestBase.php Returns the normalized POST entity.
WorkspaceResourceTestBase::getNormalizedPostEntity function core/modules/workspaces/tests/src/Functional/Rest/WorkspaceResourceTestBase.php Returns the normalized POST entity.
XmlEntityNormalizationQuirksTrait::getExpectedNormalizedEntity function core/modules/rest/tests/src/Functional/EntityResource/XmlEntityNormalizationQuirksTrait.php
XssTest::assertNormalized function core/tests/Drupal/Tests/Component/Utility/XssTest.php Asserts that a text transformed to lowercase with HTML entities decoded does contain a given string.

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