You are here

public function Feed::getQueuedTime in Feeds 8.3

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

src/Entity/Feed.php, line 175

Class

Feed
Defines the feed entity class.

Namespace

Drupal\feeds\Entity

Code

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