You are here

public function AssetInterface::getAlias in Mini site 8

Get asset alias.

In most cases, getUrl() should be used unless an alias should be explicitly retrieved.

Return value

string The full alias of the asset as a relative URL.

1 method overrides AssetInterface::getAlias()
Asset::getAlias in src/Asset.php
Get asset alias.

File

src/AssetInterface.php, line 144

Class

AssetInterface
Interface AssetInterface.

Namespace

Drupal\minisite

Code

public function getAlias();