You are here

public function DummyReadOnlyStreamWrapper::getName in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/file/tests/file_test/src/StreamWrapper/DummyReadOnlyStreamWrapper.php \Drupal\file_test\StreamWrapper\DummyReadOnlyStreamWrapper::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/DummyReadOnlyStreamWrapper.php, line 17

Class

DummyReadOnlyStreamWrapper
Helper class for testing the stream wrapper registry.

Namespace

Drupal\file_test\StreamWrapper

Code

public function getName() {
  return t('Dummy files (readonly)');
}