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.
Parameters
string $content: The asset content.
array $asset: The asset core definition array.
array $data: The cache data about the asset.
File
-
src/
Asset/ AssetOptimizationEvent.php, line 65
Class
- 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;
}