public function AssetInterface::getTargetPath

Returns the URL for the current asset.

Return value

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

4 methods override AssetInterface::getTargetPath()
AssetCache::getTargetPath in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetCache.php
Returns the URL for the current asset.
AssetCollection::getTargetPath in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetCollection.php
Returns the URL for the current asset.
AssetReference::getTargetPath in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetReference.php
Returns the URL for the current asset.
BaseAsset::getTargetPath in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/BaseAsset.php
Returns the URL for the current asset.

File

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

Class

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

Namespace

Assetic\Asset

Code

public function getTargetPath();