public function Minifier::optimize in Advanced CSS/JS Aggregation 8.4
Same name and namespace in other branches
- 8.3 advagg_ext_minify/src/Asset/Minifier.php \Drupal\advagg_ext_minify\Asset\Minifier::optimize()
Optimize the asset's content.
Parameters
string $content: The content to optimize.
array $asset: A core asset array.
array $data: The cache data.
Return value
string The optimized content.
Overrides SingleAssetOptimizerBase::optimize
File
- advagg_ext_minify/
src/ Asset/ Minifier.php, line 138
Class
- Minifier
- Optimizes a asset via external minifiers.
Namespace
Drupal\advagg_ext_minify\AssetCode
public function optimize($contents, array $asset, array $data) {
return $contents;
}