Feed::getQueuedTime

public 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 255

Class

Feed
Defines the aggregator feed entity class.

Namespace

Drupal\aggregator\Entity

Code

public function getQueuedTime() {
  return $this->get('queued')->value;
}
doc_Drupal
2016-10-29 09:09:55
Comments
Leave a Comment

Please login to continue.