You are here

service asset.js.collection_renderer in Drupal 10

Same name and namespace in other branches
  1. 8 core/core.services.yml \asset.js.collection_renderer
  2. 9 core/core.services.yml \asset.js.collection_renderer

Class

Drupal\Core\Asset\JsCollectionRenderer
14 string references to asset.js.collection_renderer
AttachedAssetsTest::testAddExternalFiles in core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php
Tests adding external CSS and JavaScript files.
AttachedAssetsTest::testAddFiles in core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php
Tests adding a CSS and a JavaScript file.
AttachedAssetsTest::testAddJsFileWithQueryString in core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php
Tests JavaScript files that have query strings attached get added right.
AttachedAssetsTest::testAggregatedAttributes in core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php
Tests that attributes are maintained when JS aggregation is enabled.
AttachedAssetsTest::testAggregation in core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php
Integration test for CSS/JS aggregation.

... See full list

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\Asset\JsCollectionRenderer
  2. arguments:
  3. - '@state'
  4. - '@file_url_generator'