You are here

public function FeedInterface::setUrl in Drupal 9

Same name and namespace in other branches
  1. 8 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);