Search for normalize
- Search 7.x for normalize
- Search 9.5.x for normalize
- Search 8.9.x for normalize
- Search 10.3.x for normalize
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
DateFormatResourceTestBase::getExpectedNormalizedEntity | function | core/ |
Returns the expected normalization of the entity. |
DateFormatResourceTestBase::getNormalizedPostEntity | function | core/ |
Returns the normalized POST entity. |
DateTimeIso8601Normalizer | class | core/ |
Converts values for the DateTimeIso8601 data type to RFC3339. |
DateTimeIso8601Normalizer.php | file | core/ |
|
DateTimeIso8601Normalizer::$allowedFormats | property | core/ |
Allowed datetime formats for the denormalizer. |
DateTimeIso8601Normalizer::denormalize | function | core/ |
|
DateTimeIso8601Normalizer::getSupportedTypes | function | core/ |
|
DateTimeIso8601Normalizer::normalize | function | core/ |
|
DateTimeIso8601NormalizerTest | class | core/ |
Unit test coverage for the "datetime_iso8601" @DataType. |
DateTimeIso8601NormalizerTest.php | file | core/ |
|
DateTimeIso8601NormalizerTest::$data | property | core/ |
The tested data type. |
DateTimeIso8601NormalizerTest::$normalizer | property | core/ |
The tested data type's normalizer. |
DateTimeIso8601NormalizerTest::providerTestDenormalizeValidFormats | function | core/ |
Data provider for testDenormalizeValidFormats. |
DateTimeIso8601NormalizerTest::providerTestNormalize | function | core/ |
Data provider for testNormalize. |
DateTimeIso8601NormalizerTest::setUp | function | core/ |
|
DateTimeIso8601NormalizerTest::testDenormalizeDateAndTimeException | function | core/ |
Tests the denormalize function with bad data for the date+time case. |
DateTimeIso8601NormalizerTest::testDenormalizeDateOnlyException | function | core/ |
Tests the denormalize function with bad data for the date-only case. |
DateTimeIso8601NormalizerTest::testDenormalizeNoTargetInstanceOrFieldDefinitionException | function | core/ |
Tests the denormalize function with incomplete serialization context. |
DateTimeIso8601NormalizerTest::testDenormalizeValidFormats | function | core/ |
Tests the denormalize function with good data. |
DateTimeIso8601NormalizerTest::testNormalize | function | core/ |
@covers ::normalize @dataProvider providerTestNormalize |
DateTimeIso8601NormalizerTest::testNormalizeWhenNull | function | core/ |
@covers ::normalize @dataProvider providerTestNormalize |
DateTimeIso8601NormalizerTest::testSupportsDenormalization | function | core/ |
@covers ::supportsDenormalization |
DateTimeIso8601NormalizerTest::testSupportsNormalization | function | core/ |
@covers ::supportsNormalization |
DateTimeIso8601NormalizerTestDrupalDateTime | class | core/ |
Provides a test class for testing DrupalDateTime. |
DateTimeIso8601NormalizerTestDrupalDateTime::setTimezone | function | core/ |
|
DateTimeNormalizer | class | core/ |
Converts values for datetime objects to RFC3339 and from common formats. |
DateTimeNormalizer.php | file | core/ |
|
DateTimeNormalizer::$allowedFormats | property | core/ |
Allowed datetime formats for the denormalizer. |
DateTimeNormalizer::$systemDateConfig | property | core/ |
The system's date configuration. |
DateTimeNormalizer::denormalize | function | core/ |
|
DateTimeNormalizer::getNormalizationTimezone | function | core/ |
Gets the timezone to be used during normalization. |
DateTimeNormalizer::getSupportedTypes | function | core/ |
|
DateTimeNormalizer::normalize | function | core/ |
|
DateTimeNormalizer::__construct | function | core/ |
Constructs a new DateTimeNormalizer instance. |
DateTimeNormalizerTest | class | core/ |
Unit test coverage for @DataTypes implementing DateTimeInterface. |
DateTimeNormalizerTest.php | file | core/ |
|
DateTimeNormalizerTest::$data | property | core/ |
The tested data type. |
DateTimeNormalizerTest::$normalizer | property | core/ |
The tested data type's normalizer. |
DateTimeNormalizerTest::providerTestDenormalizeUserFormats | function | core/ |
Data provider for testDenormalizeUserFormats. |
DateTimeNormalizerTest::providerTestDenormalizeValidFormats | function | core/ |
Data provider for testDenormalizeValidFormats. |
DateTimeNormalizerTest::setUp | function | core/ |
|
DateTimeNormalizerTest::testDenormalizeException | function | core/ |
Tests the denormalize function with bad data. |
DateTimeNormalizerTest::testDenormalizeUserFormats | function | core/ |
Tests the denormalize function with a user supplied format. |
DateTimeNormalizerTest::testDenormalizeValidFormats | function | core/ |
Tests the denormalize function with good data. |
DateTimeNormalizerTest::testNormalize | function | core/ |
@covers ::normalize |
DateTimeNormalizerTest::testNormalizeWhenNull | function | core/ |
@covers ::normalize |
DateTimeNormalizerTest::testSupportsDenormalization | function | core/ |
@covers ::supportsDenormalization |
DateTimeNormalizerTest::testSupportsNormalization | function | core/ |
@covers ::supportsNormalization |
DateTimeNormalizerTestDrupalDateTime | class | core/ |
Provides a test class for testing DrupalDateTime. |
DateTimeNormalizerTestDrupalDateTime::setTimezone | function | core/ |
Pagination
- Previous page
- Page 3
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.