function EntityTestLabelResourceTestBase::getNormalizedPostEntity
Same name in other branches
- 9 core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelResourceTestBase.php \Drupal\Tests\entity_test\Functional\Rest\EntityTestLabelResourceTestBase::getNormalizedPostEntity()
- 10 core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelResourceTestBase.php \Drupal\Tests\entity_test\Functional\Rest\EntityTestLabelResourceTestBase::getNormalizedPostEntity()
- 11.x core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelResourceTestBase.php \Drupal\Tests\entity_test\Functional\Rest\EntityTestLabelResourceTestBase::getNormalizedPostEntity()
Overrides EntityResourceTestBase::getNormalizedPostEntity
1 call to EntityTestLabelResourceTestBase::getNormalizedPostEntity()
- EntityTestLabelHalJsonAnonTest::getNormalizedPostEntity in core/
modules/ system/ tests/ modules/ entity_test/ tests/ src/ Functional/ Hal/ EntityTestLabelHalJsonAnonTest.php - Returns the normalized POST entity.
1 method overrides EntityTestLabelResourceTestBase::getNormalizedPostEntity()
- EntityTestLabelHalJsonAnonTest::getNormalizedPostEntity in core/
modules/ system/ tests/ modules/ entity_test/ tests/ src/ Functional/ Hal/ EntityTestLabelHalJsonAnonTest.php - Returns the normalized POST entity.
File
-
core/
modules/ system/ tests/ modules/ entity_test/ tests/ src/ Functional/ Rest/ EntityTestLabelResourceTestBase.php, line 120
Class
Namespace
Drupal\Tests\entity_test\Functional\RestCode
protected function getNormalizedPostEntity() {
return [
'type' => [
[
'value' => 'entity_test_label',
],
],
'name' => [
[
'value' => 'label_llama',
],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.