Feed::getUrl

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

Class

Feed
Defines the aggregator feed entity class.

Namespace

Drupal\aggregator\Entity

Code

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

Please login to continue.