You are here

public function FeedInterface::setImage in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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

\Drupal\aggregator\FeedInterface 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 159
Contains \Drupal\aggregator\FeedInterface.

Class

FeedInterface
Provides an interface defining an aggregator feed entity.

Namespace

Drupal\aggregator

Code

public function setImage($image);