Same name in other branches
  1. 5.0.x src/Asset/AssetOptimizationEvent.php \Drupal\advagg\Asset\AssetOptimizationEvent::getAsset()
  2. 6.0.x src/Asset/AssetOptimizationEvent.php \Drupal\advagg\Asset\AssetOptimizationEvent::getAsset()
  3. 8.x-4.x src/Asset/AssetOptimizationEvent.php \Drupal\advagg\Asset\AssetOptimizationEvent::getAsset()

Get the asset array.

Return value

array The current core asset definition array.

File

src/Asset/AssetOptimizationEvent.php, line 97

Class

AssetOptimizationEvent
AssetOptimizationEvent data holder.

Namespace

Drupal\advagg\Asset

Code

public function getAsset() {
    return $this->asset;
}