Search for langcode

  1. Search 7.x for langcode
  2. Search 9.5.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
NodeTypeTranslationTest::$additionalLangcodes property core/modules/node/tests/src/Functional/NodeTypeTranslationTest.php Languages to enable.
NodeTypeTranslationTest::$defaultLangcode property core/modules/node/tests/src/Functional/NodeTypeTranslationTest.php The default language code to use in this test.
PoDatabaseReader::$langcode property core/modules/locale/src/PoDatabaseReader.php Language code of the language being read from the database.
PoDatabaseReader::getLangcode function core/modules/locale/src/PoDatabaseReader.php Get language code.
PoDatabaseReader::setLangcode function core/modules/locale/src/PoDatabaseReader.php Set language code.
PoDatabaseWriter::$langcode property core/modules/locale/src/PoDatabaseWriter.php Language code of the language being written to the database.
PoDatabaseWriter::getLangcode function core/modules/locale/src/PoDatabaseWriter.php Get language code.
PoDatabaseWriter::setLangcode function core/modules/locale/src/PoDatabaseWriter.php Set language code.
PoHeader::$langcode property core/lib/Drupal/Component/Gettext/PoHeader.php Language code.
PoItem::$langcode property core/lib/Drupal/Component/Gettext/PoItem.php The language code this translation is in.
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 Test module setting up two tests, one for checking if the entity $langcode is
being passed on and another one sets up the alternate verb forms for the
stemming test.
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/src/Tests/TaxonomyTranslationTestTrait.php The langcode of the source language.
TaxonomyTranslationTestTrait::$baseLangcode property core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php The langcode of the source language.
TaxonomyTranslationTestTrait::$translateToLangcode property core/modules/taxonomy/src/Tests/TaxonomyTranslationTestTrait.php Target langcode for translation.
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.

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