Search for getDefaultLanguage

  1. Search 7.x for getDefaultLanguage
  2. Search 9.5.x for getDefaultLanguage
  3. Search 10.3.x for getDefaultLanguage
  4. Search 11.x for getDefaultLanguage
  5. Other projects
Title Object type File name Summary
LanguageManager::getDefaultLanguage function core/lib/Drupal/Core/Language/LanguageManager.php Returns a language object representing the site's default language.
LanguageManagerInterface::getDefaultLanguage function core/lib/Drupal/Core/Language/LanguageManagerInterface.php Returns a language object representing the site's default language.
LanguageServiceProvider::getDefaultLanguageValues function core/modules/language/src/LanguageServiceProvider.php Gets the default language values.

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