Search for trans

  1. Search 7.x for trans
  2. Search 8.9.x for trans
  3. Search 10.3.x for trans
  4. Search 11.x for trans
  5. Other projects
Title Object type File name Summary
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::$reflection property core/tests/Drupal/Tests/Core/StringTranslation/StringTranslationTraitTest.php A reflection of self::$translation.
StringTranslationTraitTest::$translation property core/tests/Drupal/Tests/Core/StringTranslation/StringTranslationTraitTest.php The mock 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
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_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.
TermEntityTranslation.php file core/modules/taxonomy/src/Plugin/migrate/source/d7/TermEntityTranslation.php
TermEntityTranslation::fields function core/modules/taxonomy/src/Plugin/migrate/source/d7/TermEntityTranslation.php Returns available fields on the source.
TermEntityTranslation::getIds function core/modules/taxonomy/src/Plugin/migrate/source/d7/TermEntityTranslation.php Defines the source fields uniquely identifying a source row.
TermEntityTranslation::prepareRow function core/modules/taxonomy/src/Plugin/migrate/source/d7/TermEntityTranslation.php Adds additional data to the row.
TermEntityTranslation::query function core/modules/taxonomy/src/Plugin/migrate/source/d7/TermEntityTranslation.php
TermEntityTranslationTest class core/modules/taxonomy/tests/src/Kernel/Plugin/migrate/source/d7/TermEntityTranslationTest.php Tests taxonomy term entity translation source plugin.

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