public function AssetCollection::setContent

Sets the content of the current asset.

Filters can use this method to change the content of the asset.

Parameters

string $content The asset content:

Overrides AssetInterface::setContent

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetCollection.php, line 150

Class

AssetCollection
A collection of assets.

Namespace

Assetic\Asset

Code

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