public function TranslationsStream::getDirectoryPath in Drupal 10
Same name and namespace in other branches
- 8 core/modules/locale/src/StreamWrapper/TranslationsStream.php \Drupal\locale\StreamWrapper\TranslationsStream::getDirectoryPath()
- 9 core/modules/locale/src/StreamWrapper/TranslationsStream.php \Drupal\locale\StreamWrapper\TranslationsStream::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');
}