Search for langcode

  1. Search 7.x for langcode
  2. Search 8.9.x for langcode
  3. Search 10.3.x for langcode
  4. Search 11.x for langcode
  5. Other projects
Title Object type File name Summary
PoItem::getLangcode function core/lib/Drupal/Component/Gettext/PoItem.php Gets the language code of the currently used language.
PoItem::setLangcode function core/lib/Drupal/Component/Gettext/PoItem.php Set the language code of the current language.
PoMemoryWriter::getLangcode function core/lib/Drupal/Component/Gettext/PoMemoryWriter.php Implements Drupal\Component\Gettext\PoMetadataInterface:getLangcode().
PoMemoryWriter::setLangcode function core/lib/Drupal/Component/Gettext/PoMemoryWriter.php Implements Drupal\Component\Gettext\PoMetadataInterface:setLangcode().
PoMetadataInterface::getLangcode function core/lib/Drupal/Component/Gettext/PoMetadataInterface.php Get language code.
PoMetadataInterface::setLangcode function core/lib/Drupal/Component/Gettext/PoMetadataInterface.php Set language code.
PoStreamReader::$langcode property core/lib/Drupal/Component/Gettext/PoStreamReader.php Language code for the PO stream being read.
PoStreamReader::getLangcode function core/lib/Drupal/Component/Gettext/PoStreamReader.php Get language code.
PoStreamReader::setLangcode function core/lib/Drupal/Component/Gettext/PoStreamReader.php Set language code.
PoStreamWriter::$langcode property core/lib/Drupal/Component/Gettext/PoStreamWriter.php The language code of this writer.
PoStreamWriter::getLangcode function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Gets the current language code used.
PoStreamWriter::setLangcode function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Set the language code.
RowEntityRenderersTest::$langcodes property core/modules/views/tests/src/Kernel/Entity/RowEntityRenderersTest.php An array of added languages.
SearchPreprocessLangcodeTest class core/modules/search/tests/src/Functional/SearchPreprocessLangcodeTest.php Tests that the search preprocessing uses the correct language code.
SearchPreprocessLangcodeTest.php file core/modules/search/tests/src/Functional/SearchPreprocessLangcodeTest.php
SearchPreprocessLangcodeTest::$defaultTheme property core/modules/search/tests/src/Functional/SearchPreprocessLangcodeTest.php The theme to install as the default for testing.
SearchPreprocessLangcodeTest::$modules property core/modules/search/tests/src/Functional/SearchPreprocessLangcodeTest.php Modules to enable.
SearchPreprocessLangcodeTest::$node property core/modules/search/tests/src/Functional/SearchPreprocessLangcodeTest.php Test node for searching.
SearchPreprocessLangcodeTest::setUp function core/modules/search/tests/src/Functional/SearchPreprocessLangcodeTest.php
SearchPreprocessLangcodeTest::testPreprocessLangcode function core/modules/search/tests/src/Functional/SearchPreprocessLangcodeTest.php Tests that hook_search_preprocess() returns the correct langcode.
SearchPreprocessLangcodeTest::testPreprocessStemming function core/modules/search/tests/src/Functional/SearchPreprocessLangcodeTest.php Tests stemming for hook_search_preprocess().
search_langcode_test.info.yml file core/modules/search/tests/modules/search_langcode_test/search_langcode_test.info.yml core/modules/search/tests/modules/search_langcode_test/search_langcode_test.info.yml
search_langcode_test.module file core/modules/search/tests/modules/search_langcode_test/search_langcode_test.module Tests the preprocessing of search text.
search_langcode_test_search_preprocess function core/modules/search/tests/modules/search_langcode_test/search_langcode_test.module Implements hook_search_preprocess().
SqlContentEntityStorage::$defaultLangcodeKey property core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php The default language entity key.
SqlContentEntityStorage::$langcodeKey property core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php The entity langcode key.
TaxonomyTranslationTestTrait::$baseLangcode property core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php The langcode of the source language.
TaxonomyTranslationTestTrait::$translateToLangcode property core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php Target langcode for translation.
TestConfigNamesMapper::getInternalLangcode function core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php Gets the internal language code of this mapper, if any.
TestSiteInstallCommand::$langcode property core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php The language to install the site in.
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.
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 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.
UserMailNotifyTest::testUserMailNotifyLangcodeDeprecation function core/modules/user/tests/src/Kernel/UserMailNotifyTest.php Tests the deprecated $langcode argument to _user_mail_notify().
UserSession::$preferred_admin_langcode property core/lib/Drupal/Core/Session/UserSession.php The preferred administrative language code of the account.

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