public function Feed::getHash in Drupal 8
Same name and namespace in other branches
- 9 core/modules/aggregator/src/Entity/Feed.php \Drupal\aggregator\Entity\Feed::getHash()
Returns the calculated hash of the feed data, used for validating cache.
Return value
string The calculated hash of the feed data.
Overrides FeedInterface::getHash
File
- core/
modules/ aggregator/ src/ Entity/ Feed.php, line 292
Class
- Feed
- Defines the aggregator feed entity class.
Namespace
Drupal\aggregator\EntityCode
public function getHash() {
return $this
->get('hash')->value;
}