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