Optimizes a JavaScript asset.
Hierarchy
- class \Drupal\Core\Asset\JsOptimizer implements AssetOptimizerInterface
File
- core/lib/Drupal/Core/Asset/JsOptimizer.php, line 10
Namespace
Drupal\Core\Asset
Members
Name | Modifiers | Type | Description |
---|---|---|---|
JsOptimizer::clean | public | function | Processes the contents of a javascript asset for cleanup. Overrides AssetOptimizerInterface::clean |
JsOptimizer::optimize | public | function | Optimizes an asset. Overrides AssetOptimizerInterface::optimize |
Please login to continue.