You are here

public function Minifier::optimize in Advanced CSS/JS Aggregation 8.3

Same name and namespace in other branches
  1. 8.4 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\Asset

Code

public function optimize($contents, array $asset, array $data) {
  return $contents;
}