You are here

public function VendorStreamWrapper::getDirectoryPath in Vendor Stream Wrapper 8

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/VendorStreamWrapper.php, line 41

Class

VendorStreamWrapper
Creates a vendor:// stream wrapper, for files in the vendor folder.

Namespace

Drupal\vendor_stream_wrapper\StreamWrapper

Code

public function getDirectoryPath() {
  return static::basePath();
}