Search for langcode

  1. Search 7.x for langcode
  2. Search 9.5.x for langcode
  3. Search 8.9.x for langcode
  4. Search 10.3.x for langcode
  5. Other projects
Title Object type File name Summary
TranslationLanguageRenderer::getLangcode function core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php
TranslationLanguageRenderer::getLangcodeTable function core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php Returns the name of the table holding the "langcode" field.
TranslationManager::$defaultLangcode property core/lib/Drupal/Core/StringTranslation/TranslationManager.php The default langcode used in translations.
TranslationManager::setDefaultLangcode function core/lib/Drupal/Core/StringTranslation/TranslationManager.php Sets the default langcode.
UmamiMultilingualInstallTest::$langcode property core/profiles/demo_umami/tests/src/Functional/UmamiMultilingualInstallTest.php
UpdatePathTest::testAddLangcodeToSettings function core/modules/dblog/tests/src/Functional/UpdatePathTest.php Tests that updating adds a langcode to the dblog.settings config.
User::getPreferredAdminLangcode function core/modules/user/src/Entity/User.php Returns the preferred administrative language code of the account.
User::getPreferredLangcode function core/modules/user/src/Entity/User.php Returns the preferred language code of the account.
UserAgent::getBestMatchingLangcode function core/lib/Drupal/Component/Utility/UserAgent.php Identifies user agent language from the Accept-language HTTP header.
UserAgentTest::providerTestGetBestMatchingLangcode function core/tests/Drupal/Tests/Component/Utility/UserAgentTest.php Data provider for testGetBestMatchingLangcode().
UserAgentTest::testGetBestMatchingLangcode function core/tests/Drupal/Tests/Component/Utility/UserAgentTest.php Tests matching language from user agent.
UserLangcode class core/modules/user/src/Plugin/migrate/process/UserLangcode.php Provides a process plugin for the user langcode.
UserLangcode.php file core/modules/user/src/Plugin/migrate/process/UserLangcode.php
UserLangcode::$languageManager property core/modules/user/src/Plugin/migrate/process/UserLangcode.php The language manager.
UserLangcode::create function core/modules/user/src/Plugin/migrate/process/UserLangcode.php
UserLangcode::transform function core/modules/user/src/Plugin/migrate/process/UserLangcode.php
UserLangcode::__construct function core/modules/user/src/Plugin/migrate/process/UserLangcode.php Constructs a UserLangcode object.
UserSession::$preferred_admin_langcode property core/lib/Drupal/Core/Session/UserSession.php
UserSession::$preferred_langcode property core/lib/Drupal/Core/Session/UserSession.php
UserSession::getPreferredAdminLangcode function core/lib/Drupal/Core/Session/UserSession.php
UserSession::getPreferredLangcode function core/lib/Drupal/Core/Session/UserSession.php
ViewsData::$langcode property core/modules/views/src/ViewsData.php The current language code.
VocabularyTranslationTest::$additionalLangcodes property core/modules/taxonomy/tests/src/Functional/VocabularyTranslationTest.php Languages to enable.
_ckeditor5_get_langcode_mapping function core/modules/ckeditor5/ckeditor5.module Returns a list of language codes supported by CKEditor 5.

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