interface VendorStreamWrapperServiceInterface in Vendor Stream Wrapper 8
Interfaces for the Vendor Stream Wrapper module services.
Hierarchy
- interface \Drupal\vendor_stream_wrapper\Service\VendorStreamWrapperServiceInterface
Expanded class hierarchy of VendorStreamWrapperServiceInterface
All classes that implement VendorStreamWrapperServiceInterface
File
- src/
Service/ VendorStreamWrapperServiceInterface.php, line 8
Namespace
Drupal\vendor_stream_wrapper\ServiceView source
interface VendorStreamWrapperServiceInterface {
/**
* Creates a public facing URL from URIs with the vendor:// schema.
*
* @param string $uri
* The vendor:// prefixed URI to be convereted to a public facing URL.
*
* @return string
* - If the $uri is prefixed with vendor://, and the path is valid, a public
* facing URL will be returned.
* - If the $uri is prefixed with vendor://, and the path is invalid, NULL
* is returned.
* - If $uri is not prefixed with vendor://, the passed $uri is returned
* unaltered.
*/
public function creatUrlFromUri($uri);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
VendorStreamWrapperServiceInterface:: |
public | function | Creates a public facing URL from URIs with the vendor:// schema. | 1 |