You are here

public function Feed::getQueuedTime in Drupal 9

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

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

Return value

int The timestamp of the last refresh.

Overrides FeedInterface::getQueuedTime

File

core/modules/aggregator/src/Entity/Feed.php, line 265

Class

Feed
Defines the aggregator feed entity class.

Namespace

Drupal\aggregator\Entity

Code

public function getQueuedTime() {
  return $this
    ->get('queued')->value;
}