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

Set new content.

Paramètres

string $content: The new content.

Fichier

src/Asset/AssetOptimizationEvent.php, line 87

Classe

AssetOptimizationEvent
AssetOptimizationEvent data holder.

Namespace

Drupal\advagg\Asset

Code

public function setContent($content) {
    $this->content = $content;
}