W3cubDocs

/Drupal 8

constant 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';

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Language!LanguageInterface.php/constant/LanguageInterface::LANGCODE_DEFAULT/8.1.x