public function AssetReference::setTargetPath

Sets the URL for the current asset.

Parameters

string $targetPath A web URL where the asset will be dumped:

Overrides AssetInterface::setTargetPath

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetReference.php, line 91

Class

AssetReference
A reference to an asset in the asset manager.

Namespace

Assetic\Asset

Code

public function setTargetPath($targetPath) {
  $this
    ->callAsset(__FUNCTION__, array(
    $targetPath,
  ));
}