function TranslationsStream::getDescription

Same name and namespace in other branches
  1. 9 core/modules/locale/src/StreamWrapper/TranslationsStream.php \Drupal\locale\StreamWrapper\TranslationsStream::getDescription()
  2. 8.9.x core/modules/locale/src/StreamWrapper/TranslationsStream.php \Drupal\locale\StreamWrapper\TranslationsStream::getDescription()
  3. 10 core/modules/locale/src/StreamWrapper/TranslationsStream.php \Drupal\locale\StreamWrapper\TranslationsStream::getDescription()

Overrides StreamWrapperInterface::getDescription

File

core/modules/locale/src/StreamWrapper/TranslationsStream.php, line 32

Class

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

Namespace

Drupal\locale\StreamWrapper

Code

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

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