FeedInterface::setImage

public FeedInterface::setImage($image)

Sets the primary image attached to the feed.

Parameters

string $image: An image URL.

Return value

\Drupal\aggregator\FeedInterface 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);
doc_Drupal
2016-10-29 09:10:11
Comments
Leave a Comment

Please login to continue.