You are here

public function Feed::setQueuedTime in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/aggregator/src/Entity/Feed.php \Drupal\aggregator\Entity\Feed::setQueuedTime()

Sets the time when this feed was queued for refresh, 0 if not queued.

Parameters

int $queued: The timestamp of the last refresh.

Return value

\Drupal\aggregator\FeedInterface The class instance that this method is called on.

Overrides FeedInterface::setQueuedTime

1 call to Feed::setQueuedTime()
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 352
Contains \Drupal\aggregator\Entity\Feed.

Class

Feed
Defines the aggregator feed entity class.

Namespace

Drupal\aggregator\Entity

Code

public function setQueuedTime($queued) {
  $this
    ->set('queued', $queued);
  return $this;
}