Feed::setWebsiteUrl

public Feed::setWebsiteUrl($link)

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 344

Class

Feed
Defines the aggregator feed entity class.

Namespace

Drupal\aggregator\Entity

Code

public function setWebsiteUrl($link) {
  $this->set('link', $link);
  return $this;
}
doc_Drupal
2016-10-29 09:09:59
Comments
Leave a Comment

Please login to continue.