Feed::getWebsiteUrl

public 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 262

Class

Feed
Defines the aggregator feed entity class.

Namespace

Drupal\aggregator\Entity

Code

public function getWebsiteUrl() {
  return $this->get('link')->value;
}
doc_Drupal
2016-10-29 09:09:56
Comments
Leave a Comment

Please login to continue.