function 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.