function EntityTestHalJsonAnonTest::getNormalizedPostEntity
Same name in other branches
- 9 core/modules/hal/tests/src/Functional/entity_test/EntityTestHalJsonAnonTest.php \Drupal\Tests\hal\Functional\entity_test\EntityTestHalJsonAnonTest::getNormalizedPostEntity()
Overrides EntityTestResourceTestBase::getNormalizedPostEntity
1 call to EntityTestHalJsonAnonTest::getNormalizedPostEntity()
- EntityTestHalJsonInternalPropertyNormalizerTest::getNormalizedPostEntity in core/
modules/ system/ tests/ modules/ entity_test/ tests/ src/ Functional/ Hal/ EntityTestHalJsonInternalPropertyNormalizerTest.php - Returns the normalized POST entity.
1 method overrides EntityTestHalJsonAnonTest::getNormalizedPostEntity()
- EntityTestHalJsonInternalPropertyNormalizerTest::getNormalizedPostEntity in core/
modules/ system/ tests/ modules/ entity_test/ tests/ src/ Functional/ Hal/ EntityTestHalJsonInternalPropertyNormalizerTest.php - Returns the normalized POST entity.
File
-
core/
modules/ system/ tests/ modules/ entity_test/ tests/ src/ Functional/ Hal/ EntityTestHalJsonAnonTest.php, line 88
Class
- EntityTestHalJsonAnonTest
- @group hal
Namespace
Drupal\Tests\entity_test\Functional\HalCode
protected function getNormalizedPostEntity() {
return parent::getNormalizedPostEntity() + [
'_links' => [
'type' => [
'href' => $this->baseUrl . '/rest/type/entity_test/entity_test',
],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.