function UserHalJsonAnonTest::getNormalizedPostEntity
Same name in other branches
- 8.9.x core/modules/user/tests/src/Functional/Hal/UserHalJsonAnonTest.php \Drupal\Tests\user\Functional\Hal\UserHalJsonAnonTest::getNormalizedPostEntity()
Overrides UserResourceTestBase::getNormalizedPostEntity
File
-
core/
modules/ hal/ tests/ src/ Functional/ user/ UserHalJsonAnonTest.php, line 61
Class
- UserHalJsonAnonTest
- @group hal @group legacy
Namespace
Drupal\Tests\hal\Functional\userCode
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.