You are here

public function AssetOptimizationEvent::setAsset in Advanced CSS/JS Aggregation 8.4

Same name and namespace in other branches
  1. 8.3 src/Asset/AssetOptimizationEvent.php \Drupal\advagg\Asset\AssetOptimizationEvent::setAsset()

Update the asset array.

Parameters

array $asset_array: The updated asset definition array.

File

src/Asset/AssetOptimizationEvent.php, line 107

Class

AssetOptimizationEvent
AssetOptimizationEvent data holder.

Namespace

Drupal\advagg\Asset

Code

public function setAsset(array $asset_array) {
  $this->asset = $asset_array;
}