W3cubDocs

/Drupal 8

constant LanguageInterface::LANGCODE_SYSTEM

Special system language code (only applicable to UI language).

Refers to the language used in Drupal and module/theme source code. Drupal uses the built-in text for English by default, but if configured to allow translation/customization of English, we need to differentiate between the built-in language and the English translation.

File

core/lib/Drupal/Core/Language/LanguageInterface.php, line 18

Class

LanguageInterface
Defines a language.

Namespace

Drupal\Core\Language

Code

const LANGCODE_SYSTEM = 'system';

© 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!Language!LanguageInterface.php/constant/LanguageInterface::LANGCODE_SYSTEM/8.1.x