public function FeedInterface::setHash in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/aggregator/src/FeedInterface.php \Drupal\aggregator\FeedInterface::setHash()
Sets the calculated hash of the feed data, used for validating cache.
Parameters
string $hash: A string containing the calculated hash of the feed. Must contain US ASCII characters only.
Return value
\Drupal\aggregator\FeedInterface The class instance that this method is called on.
1 method overrides FeedInterface::setHash()
- Feed::setHash in core/
modules/ aggregator/ src/ Entity/ Feed.php - Sets the calculated hash of the feed data, used for validating cache.
File
- core/
modules/ aggregator/ src/ FeedInterface.php, line 179 - Contains \Drupal\aggregator\FeedInterface.
Class
- FeedInterface
- Provides an interface defining an aggregator feed entity.
Namespace
Drupal\aggregatorCode
public function setHash($hash);