You are here

public function DummyStreamWrapper::getDescription in Drupal 10

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

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

Return value

string The stream wrapper description.

Overrides StreamWrapperInterface::getDescription

File

core/modules/file/tests/file_test/src/StreamWrapper/DummyStreamWrapper.php, line 24

Class

DummyStreamWrapper
Helper class for testing the stream wrapper registry.

Namespace

Drupal\file_test\StreamWrapper

Code

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