function FeedInterface::setRefreshRate

Same name in other branches
  1. 8.9.x core/modules/aggregator/src/FeedInterface.php \Drupal\aggregator\FeedInterface::setRefreshRate()

Sets the refresh rate of the feed in seconds.

Parameters

int $refresh: The refresh rate of the feed in seconds.

Return value

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

1 method overrides FeedInterface::setRefreshRate()
Feed::setRefreshRate in core/modules/aggregator/src/Entity/Feed.php
Sets the refresh rate of the feed in seconds.

File

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

Class

FeedInterface
Provides an interface defining an aggregator feed entity.

Namespace

Drupal\aggregator

Code

public function setRefreshRate($refresh);

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