public Feed::setHash($hash)
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.
Overrides FeedInterface::setHash
File
- core/modules/aggregator/src/Entity/Feed.php, line 368
Class
- Feed
- Defines the aggregator feed entity class.
Namespace
Drupal\aggregator\Entity
Code
1 2 3 4 | public function setHash( $hash ) { $this ->set( 'hash' , $hash ); return $this ; } |
Please login to continue.