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:
File
- drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetInterface.php, line 81
Class
- AssetInterface
- An asset has a mutable URL and content and can be loaded and dumped.
Namespace
Assetic\Asset
Code
public function setContent($content);