You are here

public function TranslationsStream::getDescription in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/locale/src/StreamWrapper/TranslationsStream.php \Drupal\locale\StreamWrapper\TranslationsStream::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/locale/src/StreamWrapper/TranslationsStream.php, line 38
Contains \Drupal\locale\StreamWrapper\TranslationsStream.

Class

TranslationsStream
Defines a Drupal translations (translations://) stream wrapper class.

Namespace

Drupal\locale\StreamWrapper

Code

public function getDescription() {
  return t('Translation files');
}