function FeedInterface::setLastModified

Same name in other branches
  1. 9 core/modules/aggregator/src/FeedInterface.php \Drupal\aggregator\FeedInterface::setLastModified()

Sets the last modification of the feed.

Parameters

int $modified: The timestamp when the feed was modified.

Return value

$this The class instance that this method is called on.

1 method overrides FeedInterface::setLastModified()
Feed::setLastModified in core/modules/aggregator/src/Entity/Feed.php
Sets the last modification of the feed.

File

core/modules/aggregator/src/FeedInterface.php, line 212

Class

FeedInterface
Provides an interface defining an aggregator feed entity.

Namespace

Drupal\aggregator

Code

public function setLastModified($modified);

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