You are here

public function TemporaryStream::getDescription in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/StreamWrapper/TemporaryStream.php \Drupal\Core\StreamWrapper\TemporaryStream::getDescription()
  2. 10 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 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.');
}