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

1
2
3
public function getQueuedTime() {
  return $this->get('queued')->value;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.