function DummyReadOnlyStreamWrapper::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/DummyReadOnlyStreamWrapper.php, line 36
Definition of Drupal\file_test\DummyReadOnlyStreamWrapper.

Class

DummyReadOnlyStreamWrapper
Helper class for testing the stream wrapper registry.

Namespace

Drupal\file_test

Code

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