service asset.js.collection_renderer in Drupal 10
Same name and namespace in other branches
- 8 core/core.services.yml \asset.js.collection_renderer
- 9 core/core.services.yml \asset.js.collection_renderer
Class
Drupal\Core\Asset\JsCollectionRenderer14 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.
File
- core/
core.services.yml - core/core.services.yml
View source
- class: Drupal\Core\Asset\JsCollectionRenderer
- arguments:
- - '@state'
- - '@file_url_generator'