You are here

constant LanguageInterface::LANGCODE_DEFAULT in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Language/LanguageInterface.php \Drupal\Core\Language\LanguageInterface::LANGCODE_DEFAULT

Language code referring to the default language of data, e.g. of an entity.

See the BCP 47 syntax for defining private language tags: http://www.rfc-editor.org/rfc/bcp/bcp47.txt

File

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

Class

LanguageInterface
Defines a language.

Namespace

Drupal\Core\Language

Code

const LANGCODE_DEFAULT = 'x-default';