public function AssetReference::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/AssetReference.php, line 71

Class

AssetReference
A reference to an asset in the asset manager.

Namespace

Assetic\Asset

Code

public function setContent($content) {
  $this
    ->callAsset(__FUNCTION__, array(
    $content,
  ));
}