You are here

function vendor_stream_wrapper_create_url in Vendor Stream Wrapper 8

Helper function to create public URLs from vendor:// stream wrapper URIs.

File

./vendor_stream_wrapper.module, line 41
Holds hooks and API functions for the Vendor Stream Wrapper module.

Code

function vendor_stream_wrapper_create_url($uri) {
  return Drupal::service('vendor_stream_wrapper.service')
    ->creatUrlFromUri($uri);
}