interface VendorStreamWrapperInterface in Vendor Stream Wrapper 8
Inteface for VenderStreamWrapper (vendor://).
Hierarchy
- interface \Drupal\vendor_stream_wrapper\StreamWrapper\VendorStreamWrapperInterface
Expanded class hierarchy of VendorStreamWrapperInterface
All classes that implement VendorStreamWrapperInterface
File
- src/
StreamWrapper/ VendorStreamWrapperInterface.php, line 8
Namespace
Drupal\vendor_stream_wrapper\StreamWrapperView source
interface VendorStreamWrapperInterface {
/**
* 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.
*/
public function getDirectoryPath();
/**
* Returns the base path for vendor://.
*
* @return string
* The base path for vendor://.
*/
public static function basePath();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
VendorStreamWrapperInterface:: |
public static | function | Returns the base path for vendor://. | 1 |
VendorStreamWrapperInterface:: |
public | function | Returns the path to the site vendor directory. |