You are here

public function DummyReadOnlyStreamWrapper::getDescription in Zircon Profile 8

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

Class

DummyReadOnlyStreamWrapper
Helper class for testing the stream wrapper registry.

Namespace

Drupal\file_test\StreamWrapper

Code

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