Same name in other branches
- 5.0.x src/Asset/AssetOptimizationEvent.php \Drupal\advagg\Asset\AssetOptimizationEvent::__construct()
- 6.0.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.
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;
}