public function DrupalTemporaryStreamWrapper::getExternalUrl
Overrides getExternalUrl().
Overrides DrupalStreamWrapperInterface::getExternalUrl
Archivo
- drupal-7.x/
includes/ stream_wrappers.inc, line 830 - Drupal stream wrapper interface.
Class
- DrupalTemporaryStreamWrapper
- Drupal temporary (temporary://) stream wrapper class.
Código
public function getExternalUrl() {
$path = str_replace('\\', '/', $this->getTarget());
return url('system/temporary/' . $path, array('absolute' => TRUE));
}