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 config('locale.settings')
    ->get('translation.path');
}