public function Feed::setRefreshRate in Drupal 8
Same name and namespace in other branches
- 9 core/modules/aggregator/src/Entity/Feed.php \Drupal\aggregator\Entity\Feed::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.
Overrides FeedInterface::setRefreshRate
File
- core/
modules/ aggregator/ src/ Entity/ Feed.php, line 329
Class
- Feed
- Defines the aggregator feed entity class.
Namespace
Drupal\aggregator\EntityCode
public function setRefreshRate($refresh) {
$this
->set('refresh', $refresh);
return $this;
}