function ImageTestDummyStreamWrapper::getName

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::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/image/tests/modules/image_module_test/src/StreamWrapper/ImageTestDummyStreamWrapper.php, line 21

Class

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

Namespace

Drupal\image_module_test\StreamWrapper

Code

public function getName() : string {
  return 'Image test private files';
}

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