You are here

public function Minisite::getAssetDirectory in Mini site 8

Get the path to the asset directory.

Return value

string The path to the assets directory.

Overrides MinisiteInterface::getAssetDirectory

1 call to Minisite::getAssetDirectory()
Minisite::prepareAssetDirectory in src/Minisite.php
Prepare asset directory.

File

src/Minisite.php, line 403

Class

Minisite
Class Minisite.

Namespace

Drupal\minisite

Code

public function getAssetDirectory() {
  $suffix = $this->archiveFile
    ->get('uuid')->value;
  return self::getCommonAssetDir() . DIRECTORY_SEPARATOR . $suffix;
}