You are here

public function Feed::getWebsiteUrl 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::getWebsiteUrl()

Returns the parent website of the feed.

Return value

string The parent website of the feed.

Overrides FeedInterface::getWebsiteUrl

File

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

Class

Feed
Defines the aggregator feed entity class.

Namespace

Drupal\aggregator\Entity

Code

public function getWebsiteUrl() {
  return $this
    ->get('link')->value;
}