function ImageTestDummyStreamWrapper::getDescription

Same name and namespace in other branches
  1. main core/modules/image/tests/modules/image_module_test/src/StreamWrapper/ImageTestDummyStreamWrapper.php \Drupal\image_module_test\StreamWrapper\ImageTestDummyStreamWrapper::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 StreamWrapperInterface::getDescription

File

core/modules/image/tests/modules/image_module_test/src/StreamWrapper/ImageTestDummyStreamWrapper.php, line 28

Class

ImageTestDummyStreamWrapper
A non-public, non-private local stream wrapper for image style access tests.

Namespace

Drupal\image_module_test\StreamWrapper

Code

public function getDescription() : string {
  return 'Image module test wrapper for non-public access checks.';
}

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