public function AssetOptimizationEvent::setData in Advanced CSS/JS Aggregation 8.4
Same name and namespace in other branches
- 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\AssetCode
public function setData(array $data) {
$this->data = $data;
}