function TranslationsStream::getDirectoryPath

Implements Drupal\Core\StreamWrapper\LocalStream::getDirectoryPath()

Overrides LocalStream::getDirectoryPath

File

drupal/core/modules/locale/lib/Drupal/locale/TranslationsStream.php, line 22
Definition of Drupal\locale\TranslationStream.

Class

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

Namespace

Drupal\locale

Code

function getDirectoryPath() {
  return variable_get('locale_translate_file_directory', conf_path() . '/files/translations');
}