You are here

public function TranslationsStream::getName in Zircon Profile 8.0

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

Returns the name of the stream wrapper for use in the UI.

Return value

string The stream wrapper name.

Overrides StreamWrapperInterface::getName

File

core/modules/locale/src/StreamWrapper/TranslationsStream.php, line 31
Contains \Drupal\locale\StreamWrapper\TranslationsStream.

Class

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

Namespace

Drupal\locale\StreamWrapper

Code

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