You are here

service asset.css.collection_renderer in Drupal 10

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

Class

Drupal\Core\Asset\CssCollectionRenderer
5 string references to asset.css.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::testRenderOrder in core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php
Tests JavaScript and CSS asset ordering.
FrameworkTest::testOrder in core/modules/system/tests/src/Functional/Ajax/FrameworkTest.php
Tests AjaxResponse::prepare() AJAX commands ordering.

File

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

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