constant LanguageInterface::LANGCODE_SYSTEM in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Language/LanguageInterface.php \Drupal\Core\Language\LanguageInterface::LANGCODE_SYSTEM
- 9 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\LanguageCode
const LANGCODE_SYSTEM = 'system';