function FeedInterface::setImage

Same name in other branches
  1. 9 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\aggregator

Code

public function setImage($image);

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