You are here

public function TranslationsStream::getName in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/locale/src/StreamWrapper/TranslationsStream.php \Drupal\locale\StreamWrapper\TranslationsStream::getName()
  2. 9 core/modules/locale/src/StreamWrapper/TranslationsStream.php \Drupal\locale\StreamWrapper\TranslationsStream::getName()

File

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

Class

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

Namespace

Drupal\locale\StreamWrapper

Code

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