Same name and namespace in other branches
  1. 8.9.x core/modules/file/tests/file_test/src/StreamWrapper/DummyRemoteStreamWrapper.php \Drupal\file_test\StreamWrapper\DummyRemoteStreamWrapper::getDescription()
  2. 9 core/modules/file/tests/file_test/src/StreamWrapper/DummyRemoteStreamWrapper.php \Drupal\file_test\StreamWrapper\DummyRemoteStreamWrapper::getDescription()

Returns the description of the stream wrapper for use in the UI.

Return value

string|\Drupal\Core\StringTranslation\TranslatableMarkup The stream wrapper description.

Overrides PublicStream::getDescription

1 method overrides DummyRemoteStreamWrapper::getDescription()
DummyRemoteReadOnlyStreamWrapper::getDescription in core/modules/file/tests/file_test/src/StreamWrapper/DummyRemoteReadOnlyStreamWrapper.php
Returns the description of the stream wrapper for use in the UI.

File

core/modules/file/tests/file_test/src/StreamWrapper/DummyRemoteStreamWrapper.php, line 26

Class

DummyRemoteStreamWrapper
Helper class for testing the stream wrapper registry.

Namespace

Drupal\file_test\StreamWrapper

Code

public function getDescription() {
  return t('Dummy wrapper for testing (remote).');
}