You are here

constant LanguageInterface::LANGCODE_DEFAULT in Drupal 9

Same name and namespace in other branches
  1. 8 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 49

Class

LanguageInterface
Defines an interface for languages.

Namespace

Drupal\Core\Language

Code

const LANGCODE_DEFAULT = 'x-default';