FeedInterface::setHash

public FeedInterface::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.

File

core/modules/aggregator/src/FeedInterface.php, line 174

Class

FeedInterface
Provides an interface defining an aggregator feed entity.

Namespace

Drupal\aggregator

Code

public function setHash($hash);
doc_Drupal
2016-10-29 09:10:11
Comments
Leave a Comment

Please login to continue.