You are here

constant LanguageInterface::LANGCODE_NOT_SPECIFIED in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Language/LanguageInterface.php \Drupal\Core\Language\LanguageInterface::LANGCODE_NOT_SPECIFIED
  2. 10 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 29

Class

LanguageInterface
Defines a language.

Namespace

Drupal\Core\Language

Code

const LANGCODE_NOT_SPECIFIED = 'und';