Feed::setUrl

public Feed::setUrl($url)

Sets the url to the feed.

Parameters

string $url: A string containing the url of the feed.

Return value

\Drupal\aggregator\FeedInterface The class instance that this method is called on.

Overrides FeedInterface::setUrl

File

core/modules/aggregator/src/Entity/Feed.php, line 312

Class

Feed
Defines the aggregator feed entity class.

Namespace

Drupal\aggregator\Entity

Code

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

Please login to continue.