You are here

public function AssetOptimizationEvent::setData 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::setData()

Update the cache data.

Parameters

array $data: The new cache data array.

File

src/Asset/AssetOptimizationEvent.php, line 127

Class

AssetOptimizationEvent
AssetOptimizationEvent data holder.

Namespace

Drupal\advagg\Asset

Code

public function setData(array $data) {
  $this->data = $data;
}