function Feed::setEtag

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

Overrides FeedInterface::setEtag

1 call to Feed::setEtag()
Feed::deleteItems in core/modules/aggregator/src/Entity/Feed.php
Deletes all items from a feed.

File

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

Class

Feed
Defines the aggregator feed entity class.

Namespace

Drupal\aggregator\Entity

Code

public function setEtag($etag) {
    $this->set('etag', $etag);
    return $this;
}

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