Same name in other branches
- 6.0.x src/Asset/AssetOptimizationEvent.php \Drupal\advagg\Asset\AssetOptimizationEvent::__construct()
- 8.x-3.x src/Asset/AssetOptimizationEvent.php \Drupal\advagg\Asset\AssetOptimizationEvent::__construct()
- 8.x-4.x src/Asset/AssetOptimizationEvent.php \Drupal\advagg\Asset\AssetOptimizationEvent::__construct()
AssetOptimizationEvent constructor.
Paramètres
string $content: The asset content.
array $asset: The asset core definition array.
array $data: The cache data about the asset.
4 calls to AssetOptimizationEvent::__construct()
- CssMinifier::__construct dans advagg_css_minify/
src/ Asset/ CssMinifier.php - Construct the optimizer instance.
- JsMinifier::__construct dans advagg_js_minify/
src/ Asset/ JsMinifier.php - Construct the optimizer instance.
- Minifier::__construct dans advagg_ext_minify/
src/ Asset/ Minifier.php - Construct the optimizer instance.
- TranslateCss::__construct dans advagg_mod/
src/ Asset/ TranslateCss.php - Construct the optimizer instance.
Fichier
-
src/
Asset/ AssetOptimizationEvent.php, line 65
Classe
- AssetOptimizationEvent
- AssetOptimizationEvent data holder.
Namespace
Drupal\advagg\AssetCode
public function __construct($content, array $asset, array $data) {
$this->content = $content;
$this->asset = $asset;
$this->data = $data;
}