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