Returns the loaded content of the current asset.
Return value
string The content
Overrides AssetInterface::getContent
File
- drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetReference.php, line 66
Class
- AssetReference
- A reference to an asset in the asset manager.
Namespace
Assetic\Asset
Code
public function getContent() {
return $this
->callAsset(__FUNCTION__);
}