You are here

public function Feed::setWebsiteUrl in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/aggregator/src/Entity/Feed.php \Drupal\aggregator\Entity\Feed::setWebsiteUrl()

Sets the parent website of the feed.

Parameters

string $link: A string containing the parent website of the feed.

Return value

\Drupal\aggregator\FeedInterface The class instance that this method is called on.

Overrides FeedInterface::setWebsiteUrl

File

core/modules/aggregator/src/Entity/Feed.php, line 360
Contains \Drupal\aggregator\Entity\Feed.

Class

Feed
Defines the aggregator feed entity class.

Namespace

Drupal\aggregator\Entity

Code

public function setWebsiteUrl($link) {
  $this
    ->set('link', $link);
  return $this;
}