public function Feed::setUrl in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/aggregator/src/Entity/Feed.php \Drupal\aggregator\Entity\Feed::setUrl()
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 328 - Contains \Drupal\aggregator\Entity\Feed.
Class
- Feed
- Defines the aggregator feed entity class.
Namespace
Drupal\aggregator\EntityCode
public function setUrl($url) {
$this
->set('url', $url);
return $this;
}