AssetLibrariesStream.php in Libraries API 8.3
File
src/StreamWrapper/AssetLibrariesStream.php
View source
<?php
namespace Drupal\libraries\StreamWrapper;
use Drupal\Core\StreamWrapper\LocalStream;
class AssetLibrariesStream extends LocalStream {
use LocalHiddenStreamTrait;
use PrivateStreamTrait;
public function getName() {
return t('Assets');
}
public function getDescription() {
return t('Provides access to asset library files.');
}
public function getDirectoryPath() {
return 'sites/all/assets/vendor';
}
}