protected function FeedResourceTestBase::getNormalizedPostEntity in Drupal 9
Same name and namespace in other branches
- 8 core/modules/aggregator/tests/src/Functional/Rest/FeedResourceTestBase.php \Drupal\Tests\aggregator\Functional\Rest\FeedResourceTestBase::getNormalizedPostEntity()
Returns the normalized POST entity.
Return value
array
Overrides EntityResourceTestBase::getNormalizedPostEntity
See also
::testPost
1 call to FeedResourceTestBase::getNormalizedPostEntity()
- FeedHalJsonTestBase::getNormalizedPostEntity in core/
modules/ aggregator/ tests/ src/ Functional/ Hal/ FeedHalJsonTestBase.php - Returns the normalized POST entity.
1 method overrides FeedResourceTestBase::getNormalizedPostEntity()
- FeedHalJsonTestBase::getNormalizedPostEntity in core/
modules/ aggregator/ tests/ src/ Functional/ Hal/ FeedHalJsonTestBase.php - Returns the normalized POST entity.
File
- core/
modules/ aggregator/ tests/ src/ Functional/ Rest/ FeedResourceTestBase.php, line 154
Class
Namespace
Drupal\Tests\aggregator\Functional\RestCode
protected function getNormalizedPostEntity() {
return [
'title' => [
[
'value' => 'Feed Resource Post Test',
],
],
'url' => [
[
'value' => 'http://example.com/feed',
],
],
'refresh' => [
[
'value' => 900,
],
],
'description' => [
[
'value' => 'Feed Resource Post Test Description',
],
],
];
}