Feed::getLastModified

public Feed::getLastModified()

Return when the feed was modified last time.

Return value

int The timestamp of the last time the feed was modified.

Overrides FeedInterface::getLastModified

File

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

Class

Feed
Defines the aggregator feed entity class.

Namespace

Drupal\aggregator\Entity

Code

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

Please login to continue.