public function Feed::setLastCheckedTime in Drupal 9
Same name and namespace in other branches
- 8 core/modules/aggregator/src/Entity/Feed.php \Drupal\aggregator\Entity\Feed::setLastCheckedTime()
Sets the time when this feed was queued for refresh, 0 if not queued.
Parameters
int $checked: The timestamp of the last refresh.
Return value
$this The class instance that this method is called on.
Overrides FeedInterface::setLastCheckedTime
2 calls to Feed::setLastCheckedTime()
- Feed::deleteItems in core/
modules/ aggregator/ src/ Entity/ Feed.php - Deletes all items from a feed.
- Feed::refreshItems in core/
modules/ aggregator/ src/ Entity/ Feed.php - Updates the feed items by triggering the import process.
File
- core/
modules/ aggregator/ src/ Entity/ Feed.php, line 338
Class
- Feed
- Defines the aggregator feed entity class.
Namespace
Drupal\aggregator\EntityCode
public function setLastCheckedTime($checked) {
$this
->set('checked', $checked);
return $this;
}