function AssetQueryString::reset
Same name in other branches
- 11.x core/lib/Drupal/Core/Asset/AssetQueryString.php \Drupal\Core\Asset\AssetQueryString::reset()
File
-
core/
lib/ Drupal/ Core/ Asset/ AssetQueryString.php, line 39
Class
- AssetQueryString
- Stores a cache busting query string service for asset URLs.
Namespace
Drupal\Core\AssetCode
public function reset() : void {
// The timestamp is converted to base 36 in order to make it more compact.
$this->state
->set(self::STATE_KEY, base_convert(strval($this->time
->getRequestTime()), 10, 36));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.