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