1 stream_wrappers.inc | public BackdropTemporaryStreamWrapper::getExternalUrl() |
Overrides getExternalUrl().
Overrides BackdropStreamWrapperInterface::getExternalUrl
File
- core/
includes/ stream_wrappers.inc, line 1002 - Backdrop stream wrapper interface.
Class
- BackdropTemporaryStreamWrapper
- Backdrop temporary (temporary://) stream wrapper class.
Code
public function getExternalUrl() {
$path = str_replace('\\', '/', $this->getTarget());
return url('system/temporary/' . $path, array('absolute' => TRUE));
}