You are here

public function VendorStreamWrapperInterface::getDirectoryPath in Vendor Stream Wrapper 8

Returns the path to the site vendor directory.

This is first searched for one level above the webroot, then the webroot, and if not found in either of those locations, a custom path can be set in settings.php.

File

src/StreamWrapper/VendorStreamWrapperInterface.php, line 17

Class

VendorStreamWrapperInterface
Inteface for VenderStreamWrapper (vendor://).

Namespace

Drupal\vendor_stream_wrapper\StreamWrapper

Code

public function getDirectoryPath();