public function AssetInterface::setTargetPath

Sets the URL for the current asset.

Parameters

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

4 methods override AssetInterface::setTargetPath()

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetInterface.php, line 127

Class

AssetInterface
An asset has a mutable URL and content and can be loaded and dumped.

Namespace

Assetic\Asset

Code

public function setTargetPath($targetPath);