public function DummyStreamWrapper::getName in Drupal 10
Same name and namespace in other branches
- 8 core/modules/file/tests/file_test/src/StreamWrapper/DummyStreamWrapper.php \Drupal\file_test\StreamWrapper\DummyStreamWrapper::getName()
- 9 core/modules/file/tests/file_test/src/StreamWrapper/DummyStreamWrapper.php \Drupal\file_test\StreamWrapper\DummyStreamWrapper::getName()
Returns the name of the stream wrapper for use in the UI.
Return value
string The stream wrapper name.
Overrides StreamWrapperInterface::getName
File
- core/
modules/ file/ tests/ file_test/ src/ StreamWrapper/ DummyStreamWrapper.php, line 17
Class
- DummyStreamWrapper
- Helper class for testing the stream wrapper registry.
Namespace
Drupal\file_test\StreamWrapperCode
public function getName() {
return t('Dummy files');
}