function FeedInterface::getImage
Same name in other branches
- 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\aggregatorCode
public function getImage();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.