W3cubDocs

/Drupal 8

protected property TranslationManager::$defaultLangcode

The default langcode used in translations.

A language code.

Type: string

File

core/lib/Drupal/Core/StringTranslation/TranslationManager.php, line 44

Class

TranslationManager
Defines a chained translation implementation combining multiple translators.

Namespace

Drupal\Core\StringTranslation

Code

protected $defaultLangcode;

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!StringTranslation!TranslationManager.php/property/TranslationManager::defaultLangcode/8.1.x