LanguageInterface::LANGCODE_NOT_SPECIFIED
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Language/LanguageInterface.php \Drupal\Core\Language\LanguageInterface::LANGCODE_NOT_SPECIFIED
- 10 core/lib/Drupal/Core/Language/LanguageInterface.php \Drupal\Core\Language\LanguageInterface::LANGCODE_NOT_SPECIFIED
- 11.x core/lib/Drupal/Core/Language/LanguageInterface.php \Drupal\Core\Language\LanguageInterface::LANGCODE_NOT_SPECIFIED
The language code used when no language is explicitly assigned (yet).
Should be used when language information is not available or cannot be determined. This special language code is useful when we know the data might have linguistic information, but we don't know the language.
See http://www.w3.org/International/questions/qa-no-language#undetermined.
File
-
core/
lib/ Drupal/ Core/ Language/ LanguageInterface.php, line 31
Class
- LanguageInterface
- Defines an interface for languages.
Namespace
Drupal\Core\LanguageCode
const LANGCODE_NOT_SPECIFIED = 'und';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.