From e26375e83f276d10030757302c4a57c77b253c51 Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Tue, 17 Feb 2015 16:10:55 +0000 Subject: [PATCH] Issue #2427409 by ParisLiakos: Feed image doesnt display --- core/modules/aggregator/src/FeedViewBuilder.php | 2 +- core/modules/aggregator/src/Tests/FeedParserTest.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/modules/aggregator/src/FeedViewBuilder.php b/core/modules/aggregator/src/FeedViewBuilder.php index 944d9a890269..e05f7c0777d2 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 7e45f1895942..d42668939e53 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.");