public function Feed::getHash in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 299 - Contains \Drupal\aggregator\Entity\Feed.
Class
- Feed
- Defines the aggregator feed entity class.
Namespace
Drupal\aggregator\EntityCode
public function getHash() {
return $this
->get('hash')->value;
}