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 11.x for langcode
  5. Other projects
Title Object type File name Summary
TranslatedViewTest::$langcodes property core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php Languages to enable.
TranslationLanguageRenderer::$langcodeAlias property core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php Stores the field alias of the langcode column.
TranslationLanguageRenderer::getLangcode function core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php Returns the language code associated with the given row.
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 The language code in which to install Drupal.
UrlTestEntity::$langcode property core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php
User::getPreferredAdminLangcode function core/modules/user/src/Entity/User.php
User::getPreferredLangcode function core/modules/user/src/Entity/User.php
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 Creates an instance of the plugin.
UserLangcode::transform function core/modules/user/src/Plugin/migrate/process/UserLangcode.php Performs the associated process.
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.