function DummyExternalReadOnlyWrapper::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/DummyExternalReadOnlyWrapper.php, line 25

Class

DummyExternalReadOnlyWrapper
Helper class for testing the stream wrapper registry.

Namespace

Drupal\file_test\StreamWrapper

Code

public function getName() {
  return t('Dummy external stream wrapper (readonly)');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.