public function Feed::getRefreshRate in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/aggregator/src/Entity/Feed.php \Drupal\aggregator\Entity\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 257 - Contains \Drupal\aggregator\Entity\Feed.
Class
- Feed
- Defines the aggregator feed entity class.
Namespace
Drupal\aggregator\EntityCode
public function getRefreshRate() {
return $this
->get('refresh')->value;
}