function DummyStreamWrapper::getExternalUrl

Override getExternalUrl().

Return the HTML URI of a public file.

Overrides StreamWrapperInterface::getExternalUrl

File

drupal/core/modules/file/tests/file_test/lib/Drupal/file_test/DummyStreamWrapper.php, line 36
Definition of Drupal\file_test\DummyStreamWrapper.

Class

DummyStreamWrapper
Helper class for testing the stream wrapper registry.

Namespace

Drupal\file_test

Code

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