Same name in other branches
- 5.0.x src/Asset/AssetOptimizationEvent.php \Drupal\advagg\Asset\AssetOptimizationEvent::setAsset()
- 6.0.x src/Asset/AssetOptimizationEvent.php \Drupal\advagg\Asset\AssetOptimizationEvent::setAsset()
- 8.x-3.x src/Asset/AssetOptimizationEvent.php \Drupal\advagg\Asset\AssetOptimizationEvent::setAsset()
Update the asset array.
Paramètres
array $asset_array: The updated asset definition array.
Fichier
-
src/
Asset/ AssetOptimizationEvent.php, line 107
Classe
- AssetOptimizationEvent
- AssetOptimizationEvent data holder.
Namespace
Drupal\advagg\AssetCode
public function setAsset(array $asset_array) {
$this->asset = $asset_array;
}