function TemporaryStream::getDescription

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/StreamWrapper/TemporaryStream.php \Drupal\Core\StreamWrapper\TemporaryStream::getDescription()
  2. 8.9.x core/lib/Drupal/Core/StreamWrapper/TemporaryStream.php \Drupal\Core\StreamWrapper\TemporaryStream::getDescription()
  3. 11.x core/lib/Drupal/Core/StreamWrapper/TemporaryStream.php \Drupal\Core\StreamWrapper\TemporaryStream::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/lib/Drupal/Core/StreamWrapper/TemporaryStream.php, line 32

Class

TemporaryStream
Defines a Drupal temporary (temporary://) stream wrapper class.

Namespace

Drupal\Core\StreamWrapper

Code

public function getDescription() {
    return t('Temporary local files for upload and previews.');
}

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