function AssetQueryString::get

Same name in other branches
  1. 10 core/lib/Drupal/Core/Asset/AssetQueryString.php \Drupal\Core\Asset\AssetQueryString::get()

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.