You are here

public function AssetInterface::setAliasPrefix in Mini site 8

Set an alias for an asset.

Note that we are setting only allowed part of the asset alias.

Parameters

string $parent_alias: Parent alias as relative or absolute path.

1 method overrides AssetInterface::setAliasPrefix()
Asset::setAliasPrefix in src/Asset.php
Set an alias for an asset.

File

src/AssetInterface.php, line 162

Class

AssetInterface
Interface AssetInterface.

Namespace

Drupal\minisite

Code

public function setAliasPrefix($parent_alias);