You are here

public function Feed::getQueuedTime in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 271
Contains \Drupal\aggregator\Entity\Feed.

Class

Feed
Defines the aggregator feed entity class.

Namespace

Drupal\aggregator\Entity

Code

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