function EntityTestResourceTestBase::getNormalizedPostEntity
Same name in other branches
- 9 core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestResourceTestBase.php \Drupal\Tests\entity_test\Functional\Rest\EntityTestResourceTestBase::getNormalizedPostEntity()
- 8.9.x core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestResourceTestBase.php \Drupal\Tests\entity_test\Functional\Rest\EntityTestResourceTestBase::getNormalizedPostEntity()
- 11.x core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestResourceTestBase.php \Drupal\Tests\entity_test\Functional\Rest\EntityTestResourceTestBase::getNormalizedPostEntity()
Overrides EntityResourceTestBase::getNormalizedPostEntity
5 calls to EntityTestResourceTestBase::getNormalizedPostEntity()
- EntityTestDateOnlyTest::getNormalizedPostEntity in core/
modules/ datetime/ tests/ src/ Functional/ EntityResource/ EntityTest/ EntityTestDateOnlyTest.php - Returns the normalized POST entity.
- EntityTestDateRangeTest::getNormalizedPostEntity in core/
modules/ datetime_range/ tests/ src/ Functional/ EntityResource/ EntityTest/ EntityTestDateRangeTest.php - Returns the normalized POST entity.
- EntityTestDatetimeTest::getNormalizedPostEntity in core/
modules/ datetime/ tests/ src/ Functional/ EntityResource/ EntityTest/ EntityTestDatetimeTest.php - Returns the normalized POST entity.
- EntityTestJsonInternalPropertyNormalizerTest::getNormalizedPostEntity in core/
modules/ system/ tests/ modules/ entity_test/ tests/ src/ Functional/ Rest/ EntityTestJsonInternalPropertyNormalizerTest.php - Returns the normalized POST entity.
- EntityTestTextItemNormalizerTest::getNormalizedPostEntity in core/
modules/ system/ tests/ modules/ entity_test/ tests/ src/ Functional/ Rest/ EntityTestTextItemNormalizerTest.php - Returns the normalized POST entity.
5 methods override EntityTestResourceTestBase::getNormalizedPostEntity()
- EntityTestDateOnlyTest::getNormalizedPostEntity in core/
modules/ datetime/ tests/ src/ Functional/ EntityResource/ EntityTest/ EntityTestDateOnlyTest.php - Returns the normalized POST entity.
- EntityTestDateRangeTest::getNormalizedPostEntity in core/
modules/ datetime_range/ tests/ src/ Functional/ EntityResource/ EntityTest/ EntityTestDateRangeTest.php - Returns the normalized POST entity.
- EntityTestDatetimeTest::getNormalizedPostEntity in core/
modules/ datetime/ tests/ src/ Functional/ EntityResource/ EntityTest/ EntityTestDatetimeTest.php - Returns the normalized POST entity.
- EntityTestJsonInternalPropertyNormalizerTest::getNormalizedPostEntity in core/
modules/ system/ tests/ modules/ entity_test/ tests/ src/ Functional/ Rest/ EntityTestJsonInternalPropertyNormalizerTest.php - Returns the normalized POST entity.
- EntityTestTextItemNormalizerTest::getNormalizedPostEntity in core/
modules/ system/ tests/ modules/ entity_test/ tests/ src/ Functional/ Rest/ EntityTestTextItemNormalizerTest.php - Returns the normalized POST entity.
File
-
core/
modules/ system/ tests/ modules/ entity_test/ tests/ src/ Functional/ Rest/ EntityTestResourceTestBase.php, line 152
Class
Namespace
Drupal\Tests\entity_test\Functional\RestCode
protected function getNormalizedPostEntity() {
return [
'type' => [
[
'value' => static::$entityTypeId,
],
],
'name' => [
[
'value' => 'Drama llama',
],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.