function DrupalDummyStreamWrapper::getExternalUrl

Override getExternalUrl().

Return the HTML URI of a public file.

Overrides DrupalStreamWrapperInterface::getExternalUrl

File

modules/simpletest/tests/file_test.module, line 453

Class

DrupalDummyStreamWrapper
Helper class for testing the stream wrapper registry.

Code

function getExternalUrl() {
    return '/dummy/example.txt';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.