function FeedInterface::setUrl

Same name in other branches
  1. 9 core/modules/aggregator/src/FeedInterface.php \Drupal\aggregator\FeedInterface::setUrl()

Sets the url to the feed.

Parameters

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

Return value

$this The class instance that this method is called on.

1 method overrides FeedInterface::setUrl()
Feed::setUrl in core/modules/aggregator/src/Entity/Feed.php
Sets the url to the feed.

File

core/modules/aggregator/src/FeedInterface.php, line 40

Class

FeedInterface
Provides an interface defining an aggregator feed entity.

Namespace

Drupal\aggregator

Code

public function setUrl($url);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.