function JsCollectionRenderer::__construct

Same name in other branches
  1. 9 core/lib/Drupal/Core/Asset/JsCollectionRenderer.php \Drupal\Core\Asset\JsCollectionRenderer::__construct()
  2. 8.9.x core/lib/Drupal/Core/Asset/JsCollectionRenderer.php \Drupal\Core\Asset\JsCollectionRenderer::__construct()
  3. 10 core/lib/Drupal/Core/Asset/JsCollectionRenderer.php \Drupal\Core\Asset\JsCollectionRenderer::__construct()

Constructs a JsCollectionRenderer.

Parameters

\Drupal\Core\Asset\AssetQueryStringInterface $assetQueryString: The asset query string.

\Drupal\Core\File\FileUrlGeneratorInterface $fileUrlGenerator: The file URL generator.

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

File

core/lib/Drupal/Core/Asset/JsCollectionRenderer.php, line 24

Class

JsCollectionRenderer
Renders JavaScript assets.

Namespace

Drupal\Core\Asset

Code

public function __construct(AssetQueryStringInterface $assetQueryString, FileUrlGeneratorInterface $fileUrlGenerator, TimeInterface $time) {
}

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