function TranslationsStream::getDirectoryPath
Same name in other branches
- 9 core/modules/locale/src/StreamWrapper/TranslationsStream.php \Drupal\locale\StreamWrapper\TranslationsStream::getDirectoryPath()
- 8.9.x core/modules/locale/src/StreamWrapper/TranslationsStream.php \Drupal\locale\StreamWrapper\TranslationsStream::getDirectoryPath()
- 10 core/modules/locale/src/StreamWrapper/TranslationsStream.php \Drupal\locale\StreamWrapper\TranslationsStream::getDirectoryPath()
Overrides LocalStream::getDirectoryPath
File
-
core/
modules/ locale/ src/ StreamWrapper/ TranslationsStream.php, line 39
Class
- TranslationsStream
- Defines a Drupal translations (translations://) stream wrapper class.
Namespace
Drupal\locale\StreamWrapperCode
public function getDirectoryPath() {
return \Drupal::config('locale.settings')->get('translation.path');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.