You are here

public function AssetLibrariesStream::getDirectoryPath in Libraries API 8.3

Gets the path that the wrapper is responsible for.

@todo Review this method name in D8 per https://www.drupal.org/node/701358.

Return value

string String specifying the path.

Overrides LocalStream::getDirectoryPath

File

src/StreamWrapper/AssetLibrariesStream.php, line 35

Class

AssetLibrariesStream
Provides a stream wrapper for asset libraries.

Namespace

Drupal\libraries\StreamWrapper

Code

public function getDirectoryPath() {

  // @todo Provide support for site-specific directories, etc.
  return 'sites/all/assets/vendor';
}