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

Class

AssetReference
A reference to an asset in the asset manager.

Namespace

Assetic\Asset

Code

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