function AssetQueryString::get

Gets the query string value.

Overrides AssetQueryStringInterface::get

File

core/lib/Drupal/Core/Asset/AssetQueryString.php, line 47

Class

AssetQueryString
Stores a cache busting query string service for asset URLs.

Namespace

Drupal\Core\Asset

Code

public function get() : string {
  return $this->state
    ->get(self::STATE_KEY, '0');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.