function DummyReadOnlyStreamWrapper::getDirectoryPath
Same name in other branches
- 9 core/modules/file/tests/file_test/src/StreamWrapper/DummyReadOnlyStreamWrapper.php \Drupal\file_test\StreamWrapper\DummyReadOnlyStreamWrapper::getDirectoryPath()
- 8.9.x core/modules/file/tests/file_test/src/StreamWrapper/DummyReadOnlyStreamWrapper.php \Drupal\file_test\StreamWrapper\DummyReadOnlyStreamWrapper::getDirectoryPath()
- 11.x core/modules/file/tests/file_test/src/StreamWrapper/DummyReadOnlyStreamWrapper.php \Drupal\file_test\StreamWrapper\DummyReadOnlyStreamWrapper::getDirectoryPath()
Overrides LocalStream::getDirectoryPath
File
-
core/
modules/ file/ tests/ file_test/ src/ StreamWrapper/ DummyReadOnlyStreamWrapper.php, line 28
Class
- DummyReadOnlyStreamWrapper
- Helper class for testing the stream wrapper registry.
Namespace
Drupal\file_test\StreamWrapperCode
public function getDirectoryPath() {
return \Drupal::getContainer()->getParameter('site.path') . '/files';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.