public function CacheFragment::setHash in RESTful 7.2
The hash to be used as the cache ID.
Parameters
string $hash: The hash.
File
- src/
RenderCache/ Entity/ CacheFragment.php, line 49 - Contains \Drupal\restful\RenderCache\Entity\CacheFragment.
Class
Namespace
Drupal\restful\RenderCache\EntityCode
public function setHash($hash) {
$this->hash = $hash;
}