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

Code

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