public function FeedInterface::setEtag in Drupal 8
Same name and namespace in other branches
- 9 core/modules/aggregator/src/FeedInterface.php \Drupal\aggregator\FeedInterface::setEtag()
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
$this The class instance that this method is called on.
1 method overrides FeedInterface::setEtag()
- Feed::setEtag in core/
modules/ aggregator/ src/ Entity/ Feed.php - Sets the entity tag HTTP response header, used for validating cache.
File
- core/
modules/ aggregator/ src/ FeedInterface.php, line 193
Class
- FeedInterface
- Provides an interface defining an aggregator feed entity.
Namespace
Drupal\aggregatorCode
public function setEtag($etag);