function DummyReadOnlyStreamWrapper::getName
Returns the name of the stream wrapper for use in the UI.
Return value
string|\Drupal\Core\StringTranslation\TranslatableMarkup The stream wrapper name.
Overrides StreamWrapperInterface::getName
File
-
core/
modules/ file/ tests/ file_test/ src/ StreamWrapper/ DummyReadOnlyStreamWrapper.php, line 17
Class
- DummyReadOnlyStreamWrapper
- Helper class for testing the stream wrapper registry.
Namespace
Drupal\file_test\StreamWrapperCode
public function getName() {
return t('Dummy files (readonly)');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.