You are here

public function Feed::getLastModified 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::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 313
Contains \Drupal\aggregator\Entity\Feed.

Class

Feed
Defines the aggregator feed entity class.

Namespace

Drupal\aggregator\Entity

Code

public function getLastModified() {
  return $this
    ->get('modified')->value;
}