LanguageInterface::LANGCODE_SYSTEM

Same name in other branches
  1. 9 core/lib/Drupal/Core/Language/LanguageInterface.php \Drupal\Core\Language\LanguageInterface::LANGCODE_SYSTEM
  2. 8.9.x core/lib/Drupal/Core/Language/LanguageInterface.php \Drupal\Core\Language\LanguageInterface::LANGCODE_SYSTEM
  3. 10 core/lib/Drupal/Core/Language/LanguageInterface.php \Drupal\Core\Language\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 20

Class

LanguageInterface
Defines an interface for languages.

Namespace

Drupal\Core\Language

Code

const LANGCODE_SYSTEM = 'system';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.