You are here

public function Minisite::setAlias in Mini site 8

File

src/Minisite.php, line 187

Class

Minisite
Class Minisite.

Namespace

Drupal\minisite

Code

public function setAlias($alias_prefix) {
  $this->aliasPrefix = $alias_prefix;
  if (isset($this->assetContainer)) {
    $this->assetContainer
      ->updateAliases($alias_prefix);
  }
}