public Feed::setRefreshRate($refresh)
Sets the refresh rate of the feed in seconds.
Parameters
int $refresh: The refresh rate of the feed in seconds.
Return value
\Drupal\aggregator\FeedInterface The class instance that this method is called on.
Overrides FeedInterface::setRefreshRate
File
- core/modules/aggregator/src/Entity/Feed.php, line 320
Class
- Feed
- Defines the aggregator feed entity class.
Namespace
Drupal\aggregator\Entity
Code
public function setRefreshRate($refresh) { $this->set('refresh', $refresh); return $this; }
Please login to continue.