Feed::setLastModified

public Feed::setLastModified($modified)

Sets the last modification of the feed.

Parameters

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

Return value

\Drupal\aggregator\FeedInterface The class instance that this method is called on.

Overrides FeedInterface::setLastModified

File

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

Class

Feed
Defines the aggregator feed entity class.

Namespace

Drupal\aggregator\Entity

Code

public function setLastModified($modified) {
  $this->set('modified', $modified);
  return $this;
}
doc_Drupal
2016-10-29 09:09:58
Comments
Leave a Comment

Please login to continue.