You are here

public function Feed::setLastCheckedTime 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::setLastCheckedTime()

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

Parameters

int $checked: The timestamp of the last refresh.

Return value

\Drupal\aggregator\FeedInterface The class instance that this method is called on.

Overrides FeedInterface::setLastCheckedTime

2 calls to Feed::setLastCheckedTime()
Feed::deleteItems in core/modules/aggregator/src/Entity/Feed.php
Deletes all items from a feed.
Feed::refreshItems in core/modules/aggregator/src/Entity/Feed.php
Updates the feed items by triggering the import process.

File

core/modules/aggregator/src/Entity/Feed.php, line 344
Contains \Drupal\aggregator\Entity\Feed.

Class

Feed
Defines the aggregator feed entity class.

Namespace

Drupal\aggregator\Entity

Code

public function setLastCheckedTime($checked) {
  $this
    ->set('checked', $checked);
  return $this;
}