protected function FeedHalJsonTestBase::getNormalizedPostEntity in Drupal 8
Same name and namespace in other branches
- 9 core/modules/aggregator/tests/src/Functional/Hal/FeedHalJsonTestBase.php \Drupal\Tests\aggregator\Functional\Hal\FeedHalJsonTestBase::getNormalizedPostEntity()
Returns the normalized POST entity.
Return value
array
Overrides FeedResourceTestBase::getNormalizedPostEntity
See also
::testPost
File
- core/
modules/ aggregator/ tests/ src/ Functional/ Hal/ FeedHalJsonTestBase.php, line 50
Class
Namespace
Drupal\Tests\aggregator\Functional\HalCode
protected function getNormalizedPostEntity() {
return parent::getNormalizedPostEntity() + [
'_links' => [
'type' => [
'href' => $this->baseUrl . '/rest/type/aggregator_feed/aggregator_feed',
],
],
];
}