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()
- 10 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
7 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::getNormalizedPatchEntity in core/
modules/ datetime/ tests/ src/ Functional/ EntityResource/ EntityTest/ EntityTestDatetimeTest.php - Returns the normalized PATCH entity.
- EntityTestDatetimeTest::getNormalizedPostEntity in core/
modules/ datetime/ tests/ src/ Functional/ EntityResource/ EntityTest/ EntityTestDatetimeTest.php - Returns the normalized POST entity.
- EntityTestHalJsonAnonTest::getNormalizedPostEntity in core/
modules/ system/ tests/ modules/ entity_test/ tests/ src/ Functional/ Hal/ EntityTestHalJsonAnonTest.php - Returns the normalized POST entity.
6 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.
- EntityTestHalJsonAnonTest::getNormalizedPostEntity in core/
modules/ system/ tests/ modules/ entity_test/ tests/ src/ Functional/ Hal/ EntityTestHalJsonAnonTest.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.
File
-
core/
modules/ system/ tests/ modules/ entity_test/ tests/ src/ Functional/ Rest/ EntityTestResourceTestBase.php, line 134
Class
Namespace
Drupal\Tests\entity_test\Functional\RestCode
protected function getNormalizedPostEntity() {
return [
'type' => [
[
'value' => 'entity_test',
],
],
'name' => [
[
'value' => 'Dramallama',
],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.