You are here

public function ContentLanguageSettingsInterface::getDefaultLangcode in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/language/src/ContentLanguageSettingsInterface.php \Drupal\language\ContentLanguageSettingsInterface::getDefaultLangcode()
  2. 9 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();