Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TranslationsStream.php

function 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\StreamWrapper

Code

public function getDirectoryPath() {
    return \Drupal::config('locale.settings')->get('translation.path');
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal