function FeedInterface::getImage

Same name in other branches
  1. 8.9.x core/modules/aggregator/src/FeedInterface.php \Drupal\aggregator\FeedInterface::getImage()

Returns the primary image attached to the feed.

Return value

string The URL of the primary image attached to the feed.

1 method overrides FeedInterface::getImage()
Feed::getImage in core/modules/aggregator/src/Entity/Feed.php
Returns the primary image attached to the feed.

File

core/modules/aggregator/src/FeedInterface.php, line 143

Class

FeedInterface
Provides an interface defining an aggregator feed entity.

Namespace

Drupal\aggregator

Code

public function getImage();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.