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

Class

AssetCollection
A collection of assets.

Namespace

Assetic\Asset

Code

public function setTargetPath($targetPath) {
  $this->targetPath = $targetPath;
}