diff --git a/core/modules/aggregator/src/FeedViewBuilder.php b/core/modules/aggregator/src/FeedViewBuilder.php index 944d9a89026..e05f7c0777d 100644 --- a/core/modules/aggregator/src/FeedViewBuilder.php +++ b/core/modules/aggregator/src/FeedViewBuilder.php @@ -94,7 +94,7 @@ class FeedViewBuilder extends EntityViewBuilder { if ($image && $label && $link_href) { $link_title = array( '#theme' => 'image', - '#path' => $image, + '#uri' => $image, '#alt' => $label, ); $image_link = array( diff --git a/core/modules/aggregator/src/Tests/FeedParserTest.php b/core/modules/aggregator/src/Tests/FeedParserTest.php index 7e45f189594..d42668939e5 100644 --- a/core/modules/aggregator/src/Tests/FeedParserTest.php +++ b/core/modules/aggregator/src/Tests/FeedParserTest.php @@ -40,6 +40,7 @@ class FeedParserTest extends AggregatorTestBase { $this->assertText('First example feed item title'); $this->assertLinkByHref('http://example.com/example-turns-one'); $this->assertText('First example feed item description.'); + $this->assertRaw('assertRaw("Second example feed item title.");