Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. AssetQueryString.php

function AssetQueryString::reset

Overrides AssetQueryStringInterface::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\Asset

Code

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));
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal