You are here

public function FeedInterface::getImage in Drupal 9

Same name and namespace in other branches
  1. 8 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();