function Feed::getLastModified

Same name in other branches
  1. 9 core/modules/aggregator/src/Entity/Feed.php \Drupal\aggregator\Entity\Feed::getLastModified()

Overrides FeedInterface::getLastModified

File

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

Class

Feed
Defines the aggregator feed entity class.

Namespace

Drupal\aggregator\Entity

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.