You are here

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

Returns the url to the feed.

Return value

string The url to the feed.

Overrides FeedInterface::getUrl

File

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

Class

Feed
Defines the aggregator feed entity class.

Namespace

Drupal\aggregator\Entity

Code

public function getUrl() {
  return $this
    ->get('url')->value;
}