Search for trans

  1. Search 7.x for trans
  2. Search 9.5.x for trans
  3. Search 8.9.x for trans
  4. Search 11.x for trans
  5. Other projects
Title Object type File name Summary
StringDatabaseStorage::deleteTranslations function core/modules/locale/src/StringDatabaseStorage.php
StringDatabaseStorage::findTranslation function core/modules/locale/src/StringDatabaseStorage.php
StringDatabaseStorage::getTranslations function core/modules/locale/src/StringDatabaseStorage.php
StringInterface::isTranslation function core/modules/locale/src/StringInterface.php Checks whether the object is a translation string.
StringStorageInterface::countTranslations function core/modules/locale/src/StringStorageInterface.php Counts translations.
StringStorageInterface::createTranslation function core/modules/locale/src/StringStorageInterface.php Creates a string translation object bound to this storage but not saved.
StringStorageInterface::deleteTranslations function core/modules/locale/src/StringStorageInterface.php Deletes translations using conditions.
StringStorageInterface::findTranslation function core/modules/locale/src/StringStorageInterface.php Loads a string translation object, fast query.
StringStorageInterface::getTranslations function core/modules/locale/src/StringStorageInterface.php Loads multiple string translation objects.
StringTranslationTrait trait core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php Wrapper methods for \Drupal\Core\StringTranslation\TranslationInterface.
StringTranslationTrait.php file core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php
StringTranslationTrait::$stringTranslation property core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php The string translation service.
StringTranslationTrait::formatPlural function core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php Formats a string containing a count of items.
StringTranslationTrait::getNumberOfPlurals function core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php Returns the number of plurals supported by a given language.
StringTranslationTrait::getStringTranslation function core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php Gets the string translation service.
StringTranslationTrait::setStringTranslation function core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php Sets the string translation service to use.
StringTranslationTrait::t function core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php Translates a string to the current language or to a given language.
StringTranslationTraitTest class core/tests/Drupal/Tests/Core/StringTranslation/StringTranslationTraitTest.php @coversDefaultClass \Drupal\Core\StringTranslation\StringTranslationTrait
@group StringTranslation
StringTranslationTraitTest.php file core/tests/Drupal/Tests/Core/StringTranslation/StringTranslationTraitTest.php
StringTranslationTraitTest::$testObject property core/tests/Drupal/Tests/Core/StringTranslation/StringTranslationTraitTest.php The object under test that uses StringTranslationTrait.
StringTranslationTraitTest::setUp function core/tests/Drupal/Tests/Core/StringTranslation/StringTranslationTraitTest.php
StringTranslationTraitTest::testFormatPlural function core/tests/Drupal/Tests/Core/StringTranslation/StringTranslationTraitTest.php @covers ::formatPlural
StringTranslationTraitTest::testT function core/tests/Drupal/Tests/Core/StringTranslation/StringTranslationTraitTest.php @covers ::t
string_translation service core/core.services.yml Drupal\Core\StringTranslation\TranslationManager
string_translator.custom_strings service core/core.services.yml Drupal\Core\StringTranslation\Translator\CustomStrings
string_translator.locale.lookup service core/modules/locale/locale.services.yml Drupal\locale\LocaleTranslation
StubConnection::startTransaction function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php
SubProcess::transform function core/modules/migrate/src/Plugin/migrate/process/SubProcess.php Performs the associated process.
SubProcess::transformKey function core/modules/migrate/src/Plugin/migrate/process/SubProcess.php Runs the process pipeline for the key to determine its dynamic name.
Substr::transform function core/modules/migrate/src/Plugin/migrate/process/Substr.php Performs the associated process.
system.config_translation.yml file core/modules/system/system.config_translation.yml core/modules/system/system.config_translation.yml
SystemAuthorizeTest::testFileTransferHooks function core/modules/system/tests/src/Functional/System/SystemAuthorizeTest.php Tests the FileTransfer hooks.
SystemUpdate7000::transform function core/modules/system/src/Plugin/migrate/process/d6/SystemUpdate7000.php Rename blog and forum permissions to be consistent with other content types.
system_filetransfer_info function core/modules/system/system.module Implements hook_filetransfer_info().
system_post_update_add_langcode_to_all_translatable_config function core/modules/system/system.post_update.php Adds a langcode to all simple config which needs it.
system_test_filetransfer_info function core/modules/system/tests/modules/system_test/system_test.module Implements hook_filetransfer_info().
TargetBundle::transform function core/modules/taxonomy/src/Plugin/migrate/process/TargetBundle.php Performs the associated process.
TaxonomyTranslationTestTrait trait core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php Provides common testing base for translated taxonomy terms.
TaxonomyTranslationTestTrait.php file core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php
TaxonomyTranslationTestTrait::$baseLangcode property core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php The langcode of the source language.
TaxonomyTranslationTestTrait::$node property core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php The node to check the translated value on.
TaxonomyTranslationTestTrait::$termFieldName property core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php The field name for our taxonomy term field.
TaxonomyTranslationTestTrait::$translateToLangcode property core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php Target langcode for translation.
TaxonomyTranslationTestTrait::$vocabulary property core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php The vocabulary.
TaxonomyTranslationTestTrait::enableTranslation function core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php Enables translations where it needed.
TaxonomyTranslationTestTrait::setupLanguages function core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php Adds additional languages.
TaxonomyTranslationTestTrait::setUpTermReferenceField function core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php Adds term reference field for the article content type.
template_preprocess_locale_translation_last_check function core/modules/locale/locale.pages.inc Prepares variables for most recent translation update templates.
template_preprocess_locale_translation_update_info function core/modules/locale/locale.pages.inc Prepares variables for translation status information templates.
TermEntityTranslation class core/modules/taxonomy/src/Plugin/migrate/source/d7/TermEntityTranslation.php Drupal 7 taxonomy term entity translation source plugin.

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