Search for trans

  1. Search 7.x for trans
  2. Search 9.5.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
StorageTransformEvent::__construct function core/lib/Drupal/Core/Config/StorageTransformEvent.php StorageTransformEvent constructor.
stream_wrapper.translations service core/modules/locale/locale.services.yml Drupal\locale\StreamWrapper\TranslationsStream
StringDatabaseStorage::countTranslations function core/modules/locale/src/StringDatabaseStorage.php Counts translations.
StringDatabaseStorage::createTranslation function core/modules/locale/src/StringDatabaseStorage.php Creates a string translation object bound to this storage but not saved.
StringDatabaseStorage::deleteTranslations function core/modules/locale/src/StringDatabaseStorage.php Deletes translations using conditions.
StringDatabaseStorage::findTranslation function core/modules/locale/src/StringDatabaseStorage.php Loads a string translation object, fast query.
StringDatabaseStorage::getTranslations function core/modules/locale/src/StringDatabaseStorage.php Loads multiple string translation objects.
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::$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().
TaxonomyTranslationTestTrait trait core/modules/taxonomy/src/Tests/TaxonomyTranslationTestTrait.php Provides common testing base for translated taxonomy terms.
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.php file core/modules/taxonomy/src/Tests/TaxonomyTranslationTestTrait.php
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::$node property core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php The node to check the translated value on.
TaxonomyTranslationTestTrait::$node property core/modules/taxonomy/src/Tests/TaxonomyTranslationTestTrait.php The node to check the translated value on.
TaxonomyTranslationTestTrait::$termFieldName property core/modules/taxonomy/src/Tests/TaxonomyTranslationTestTrait.php The field name for our taxonomy term field.
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.

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