file_build_uri($path)
Constructs a URI to Drupal's default files location given a relative path.
function file_build_uri($path) { $uri = file_default_scheme() . '://' . $path; return file_stream_wrapper_uri_normalize($uri); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!includes!file.inc/function/file_build_uri/8.1.x