public function DummyStreamWrapper::getExternalUrl in Drupal 8
Same name and namespace in other branches
- 9 core/modules/file/tests/file_test/src/StreamWrapper/DummyStreamWrapper.php \Drupal\file_test\StreamWrapper\DummyStreamWrapper::getExternalUrl()
Override getExternalUrl().
Return the HTML URI of a public file.
Overrides StreamWrapperInterface::getExternalUrl
File
- core/
modules/ file/ tests/ file_test/ src/ StreamWrapper/ DummyStreamWrapper.php, line 46
Class
- DummyStreamWrapper
- Helper class for testing the stream wrapper registry.
Namespace
Drupal\file_test\StreamWrapperCode
public function getExternalUrl() {
return '/dummy/example.txt';
}