function AssetQueryString::__construct

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Asset/AssetQueryString.php \Drupal\Core\Asset\AssetQueryString::__construct()

Creates a new AssetQueryString instance.

Parameters

\Drupal\Core\State\StateInterface $state: State service.

\Drupal\Component\Datetime\TimeInterface $time: System time service.

File

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

Class

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

Namespace

Drupal\Core\Asset

Code

public function __construct(StateInterface $state, TimeInterface $time) {
}

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