protected function EntityTestDateonlyTest::getNormalizedPostEntity in Drupal 10
Same name and namespace in other branches
- 8 core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateonlyTest.php \Drupal\Tests\datetime\Functional\EntityResource\EntityTest\EntityTestDateonlyTest::getNormalizedPostEntity()
- 9 core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateonlyTest.php \Drupal\Tests\datetime\Functional\EntityResource\EntityTest\EntityTestDateonlyTest::getNormalizedPostEntity()
1 call to EntityTestDateonlyTest::getNormalizedPostEntity()
- EntityTestDateonlyTest::assertNormalizationEdgeCases in core/
modules/ datetime/ tests/ src/ Functional/ EntityResource/ EntityTest/ EntityTestDateonlyTest.php
File
- core/
modules/ datetime/ tests/ src/ Functional/ EntityResource/ EntityTest/ EntityTestDateonlyTest.php, line 107
Class
- EntityTestDateonlyTest
- Tests the datetime field constraint with 'date' items.
Namespace
Drupal\Tests\datetime\Functional\EntityResource\EntityTestCode
protected function getNormalizedPostEntity() {
return parent::getNormalizedPostEntity() + [
static::$fieldName => [
[
'value' => static::$dateString,
],
],
];
}