public Feed::setEtag($etag)
Sets the entity tag HTTP response header, used for validating cache.
Parameters
string $etag: A string containing the entity tag HTTP response header.
Return value
\Drupal\aggregator\FeedInterface The class instance that this method is called on.
Overrides FeedInterface::setEtag
File
- core/modules/aggregator/src/Entity/Feed.php, line 376
Class
- Feed
- Defines the aggregator feed entity class.
Namespace
Drupal\aggregator\Entity
Code
public function setEtag($etag) { $this->set('etag', $etag); return $this; }
Please login to continue.