ContentLanguageSettings::$default_langcode

Same name in other branches
  1. 8.9.x core/modules/language/src/Entity/ContentLanguageSettings.php \Drupal\language\Entity\ContentLanguageSettings::default_langcode
  2. 10 core/modules/language/src/Entity/ContentLanguageSettings.php \Drupal\language\Entity\ContentLanguageSettings::default_langcode
  3. 11.x core/modules/language/src/Entity/ContentLanguageSettings.php \Drupal\language\Entity\ContentLanguageSettings::default_langcode

The default language code.

Type: string

File

core/modules/language/src/Entity/ContentLanguageSettings.php, line 67

Class

ContentLanguageSettings
Defines the ContentLanguageSettings entity.

Namespace

Drupal\language\Entity

Code

protected $default_langcode = LanguageInterface::LANGCODE_SITE_DEFAULT;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.