Same name in other branches
- 5.0.x src/Asset/AssetOptimizationEvent.php \Drupal\advagg\Asset\AssetOptimizationEvent::setData()
- 6.0.x src/Asset/AssetOptimizationEvent.php \Drupal\advagg\Asset\AssetOptimizationEvent::setData()
- 8.x-4.x 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;
}