public Feed::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.
Overrides FeedInterface::setImage
File
- core/modules/aggregator/src/Entity/Feed.php, line 360
Class
- Feed
- Defines the aggregator feed entity class.
Namespace
Drupal\aggregator\Entity
Code
1 2 3 4 | public function setImage( $image ) { $this ->set( 'image' , $image ); return $this ; } |
Please login to continue.