You are here

public function ItemInterface::setLink in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/aggregator/src/ItemInterface.php \Drupal\aggregator\ItemInterface::setLink()

Sets the link to the feed item.

Parameters

string $link: The link to the feed item.

Return value

$this The called feed item entity.

1 method overrides ItemInterface::setLink()
Item::setLink in core/modules/aggregator/src/Entity/Item.php
Sets the link to the feed item.

File

core/modules/aggregator/src/ItemInterface.php, line 67

Class

ItemInterface
Provides an interface defining an aggregator item entity.

Namespace

Drupal\aggregator

Code

public function setLink($link);