public function FeedInterface::setImage in Drupal 9
Same name and namespace in other branches
- 8 core/modules/aggregator/src/FeedInterface.php \Drupal\aggregator\FeedInterface::setImage()
Sets the primary image attached to the feed.
Parameters
string $image: An image URL.
Return value
$this The class instance that this method is called on.
1 method overrides FeedInterface::setImage()
- Feed::setImage in core/
modules/ aggregator/ src/ Entity/ Feed.php - Sets the primary image attached to the feed.
File
- core/
modules/ aggregator/ src/ FeedInterface.php, line 154
Class
- FeedInterface
- Provides an interface defining an aggregator feed entity.
Namespace
Drupal\aggregatorCode
public function setImage($image);