function NodeHalJsonAnonTest::getNormalizedPostEntity
Same name in other branches
- 9 core/modules/hal/tests/src/Functional/node/NodeHalJsonAnonTest.php \Drupal\Tests\hal\Functional\node\NodeHalJsonAnonTest::getNormalizedPostEntity()
Overrides NodeResourceTestBase::getNormalizedPostEntity
File
-
core/
modules/ node/ tests/ src/ Functional/ Hal/ NodeHalJsonAnonTest.php, line 119
Class
- NodeHalJsonAnonTest
- @group hal
Namespace
Drupal\Tests\node\Functional\HalCode
protected function getNormalizedPostEntity() {
return parent::getNormalizedPostEntity() + [
'_links' => [
'type' => [
'href' => $this->baseUrl . '/rest/type/node/camelids',
],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.