asset.js.collection_optimizer

Same name in other branches
  1. 8.9.x core/core.services.yml \asset.js.collection_optimizer
  2. 10 core/core.services.yml \asset.js.collection_optimizer

Class

Drupal\Core\Asset\JsCollectionOptimizer
2 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
  1. class: Drupal\Core\Asset\JsCollectionOptimizer
  2. arguments:
  3. - '@asset.js.collection_grouper'
  4. - '@asset.js.optimizer'
  5. - '@asset.js.dumper'
  6. - '@state'
  7. - '@file_system'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.