JsCollectionOptimizer::$optimizer

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php \Drupal\Core\Asset\JsCollectionOptimizer::optimizer
  2. 10 core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php \Drupal\Core\Asset\JsCollectionOptimizer::optimizer

A JS asset optimizer.

Type: \Drupal\Core\Asset\JsOptimizer

File

core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php, line 25

Class

JsCollectionOptimizer
Optimizes JavaScript assets.

Namespace

Drupal\Core\Asset

Code

protected $optimizer;

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