You are here

public function WingsuitStreamWrapper::getDirectoryPath in Gin Layout Builder 8.2

Returns the directory path to Wingsuit dist directory set in settings.php. Otherwise it will return the path to Wingsuit default dist location.

Return value

string

Overrides LocalStream::getDirectoryPath

1 call to WingsuitStreamWrapper::getDirectoryPath()
WingsuitStreamWrapper::getExternalUrl in src/StreamWrapper/WingsuitStreamWrapper.php
Returns a web accessible URL for the resource.

File

src/StreamWrapper/WingsuitStreamWrapper.php, line 40

Class

WingsuitStreamWrapper
Defines the read-only ws-assets:// stream wrapper for theme files.

Namespace

Drupal\wingsuit_companion\StreamWrapper

Code

public function getDirectoryPath() {
  $dist_path = $this->config
    ->get('dist_path');
  return $dist_path;
}