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