function FeedResourceTestBase::getNormalizedPostEntity
Same name in other branches
- 8.9.x core/modules/aggregator/tests/src/Functional/Rest/FeedResourceTestBase.php \Drupal\Tests\aggregator\Functional\Rest\FeedResourceTestBase::getNormalizedPostEntity()
Overrides EntityResourceTestBase::getNormalizedPostEntity
1 call to FeedResourceTestBase::getNormalizedPostEntity()
- FeedHalJsonTestBase::getNormalizedPostEntity in core/
modules/ hal/ tests/ src/ Functional/ aggregator/ FeedHalJsonTestBase.php - Returns the normalized POST entity.
1 method overrides FeedResourceTestBase::getNormalizedPostEntity()
- FeedHalJsonTestBase::getNormalizedPostEntity in core/
modules/ hal/ tests/ src/ Functional/ aggregator/ 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',
],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.