function NodeResourceTestBase::getNormalizedPostEntity
Same name in other branches
- 8.9.x 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/ hal/ tests/ src/ Functional/ node/ NodeHalJsonAnonTest.php - Returns the normalized POST entity.
1 method overrides NodeResourceTestBase::getNormalizedPostEntity()
- NodeHalJsonAnonTest::getNormalizedPostEntity in core/
modules/ hal/ tests/ src/ Functional/ node/ NodeHalJsonAnonTest.php - Returns the normalized POST entity.
File
-
core/
modules/ node/ tests/ src/ Functional/ Rest/ NodeResourceTestBase.php, line 199
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.