Search for normalize
- Search 7.x for normalize
- Search 8.9.x for normalize
- Search 10.3.x for normalize
- Search 11.x for normalize
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
ContentEntityNormalizerTest | class | core/ |
@coversDefaultClass \Drupal\serialization\Normalizer\ContentEntityNormalizer @group serialization |
ContentEntityNormalizerTest.php | file | core/ |
|
ContentEntityNormalizerTest::$contentEntityNormalizer | property | core/ |
The normalizer under test. |
ContentEntityNormalizerTest::$serializer | property | core/ |
The mock serializer. |
ContentEntityNormalizerTest::createMockFieldListItem | function | core/ |
Creates a mock field list item. |
ContentEntityNormalizerTest::createMockForContentEntity | function | core/ |
Creates a mock content entity. |
ContentEntityNormalizerTest::setUp | function | core/ |
|
ContentEntityNormalizerTest::testNormalize | function | core/ |
Tests the normalize() method. |
ContentEntityNormalizerTest::testNormalizeWithAccountContext | function | core/ |
Tests the normalize() method with account context passed. |
ContentEntityNormalizerTest::testSupportsNormalization | function | core/ |
@covers ::supportsNormalization |
ContentLanguageSettingsResourceTestBase::getExpectedNormalizedEntity | function | core/ |
Returns the expected normalization of the entity. |
ContentLanguageSettingsResourceTestBase::getNormalizedPostEntity | function | core/ |
Returns the normalized POST entity. |
DatabaseBackend::normalizeCid | function | core/ |
Normalizes a cache ID in order to comply with database limitations. |
DatabaseLockBackend::normalizeName | function | core/ |
Normalizes a lock name in order to comply with database limitations. |
DataNormalizer | class | core/ |
Normalizes JSON:API Data objects. |
DataNormalizer.php | file | core/ |
|
DataNormalizer::$supportedInterfaceOrClass | property | core/ |
The interface or class that this Normalizer supports. |
DataNormalizer::hasCacheableSupportsMethod | function | core/ |
|
DataNormalizer::normalize | function | core/ |
|
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::$supportedInterfaceOrClass | property | core/ |
The interface or class that this Normalizer supports. |
DateTimeIso8601Normalizer::denormalize | 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::$supportedInterfaceOrClass | property | core/ |
The interface or class that this Normalizer supports. |
DateTimeNormalizer::$systemDateConfig | property | core/ |
The system's date configuration. |
DateTimeNormalizer::denormalize | 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.