You are here

public function DummyStreamWrapper::getInternalUri in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/file/tests/file_test/src/StreamWrapper/DummyStreamWrapper.php \Drupal\file_test\StreamWrapper\DummyStreamWrapper::getInternalUri()

Override getInternalUri().

Return a dummy path for testing.

File

core/modules/file/tests/file_test/src/StreamWrapper/DummyStreamWrapper.php, line 37

Class

DummyStreamWrapper
Helper class for testing the stream wrapper registry.

Namespace

Drupal\file_test\StreamWrapper

Code

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