function ContentLanguageSettingsInterface::getDefaultLangcode

Same name in other branches
  1. 9 core/modules/language/src/ContentLanguageSettingsInterface.php \Drupal\language\ContentLanguageSettingsInterface::getDefaultLangcode()
  2. 10 core/modules/language/src/ContentLanguageSettingsInterface.php \Drupal\language\ContentLanguageSettingsInterface::getDefaultLangcode()
  3. 11.x core/modules/language/src/ContentLanguageSettingsInterface.php \Drupal\language\ContentLanguageSettingsInterface::getDefaultLangcode()

Gets the default language code.

Return value

string

1 method overrides ContentLanguageSettingsInterface::getDefaultLangcode()
ContentLanguageSettings::getDefaultLangcode in core/modules/language/src/Entity/ContentLanguageSettings.php
Gets the default language code.

File

core/modules/language/src/ContentLanguageSettingsInterface.php, line 51

Class

ContentLanguageSettingsInterface
Provides an interface defining language settings for content entities.

Namespace

Drupal\language

Code

public function getDefaultLangcode();

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