function 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.

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.