function Feed::getRefreshRate
Returns the refresh rate of the feed in seconds.
Return value
int The refresh rate of the feed in seconds.
Overrides FeedInterface::getRefreshRate
File
-
core/
modules/ aggregator/ src/ Entity/ Feed.php, line 251
Class
- Feed
- Defines the aggregator feed entity class.
Namespace
Drupal\aggregator\EntityCode
public function getRefreshRate() {
return $this->get('refresh')->value;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.