public function AssetCache::getTargetPath

Returns the URL for the current asset.

Return value

string|null A web URL where the asset will be dumped

Overrides AssetInterface::getTargetPath

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetCache.php, line 95

Class

AssetCache
Caches an asset to avoid the cost of loading and dumping.

Namespace

Assetic\Asset

Code

public function getTargetPath() {
  return $this->asset
    ->getTargetPath();
}