asset.js.collection_optimizer
Same name in other branches
- 8.9.x core/core.services.yml \asset.js.collection_optimizer
- 10 core/core.services.yml \asset.js.collection_optimizer
Class
Drupal\Core\Asset\JsCollectionOptimizer2 string references to asset.js.collection_optimizer
- AssetResolver::getJsAssets in core/
lib/ Drupal/ Core/ Asset/ AssetResolver.php - Returns the JavaScript assets for the current response's libraries.
- PerformanceForm::create in core/
modules/ system/ src/ Form/ PerformanceForm.php - Instantiates a new instance of this class.
File
-
core/
core.services.yml
View source
- class: Drupal\Core\Asset\JsCollectionOptimizer
- arguments:
- - '@asset.js.collection_grouper'
- - '@asset.js.optimizer'
- - '@asset.js.dumper'
- - '@state'
- - '@file_system'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.