Feed::getLastCheckedTime

public Feed::getLastCheckedTime()

Returns the last time where the feed was checked for new items.

Return value

int The timestamp when new items were last checked for.

Overrides FeedInterface::getLastCheckedTime

File

core/modules/aggregator/src/Entity/Feed.php, line 248

Class

Feed
Defines the aggregator feed entity class.

Namespace

Drupal\aggregator\Entity

Code

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

Please login to continue.