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 10.3.x for trans
  5. Other projects
Title Object type File name Summary
TranslationTest::testGet function core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php @covers ::get
TranslationTest::testTranslatableFieldSaveLoad function core/modules/field/tests/src/Kernel/TranslationTest.php Tests translatable fields storage/retrieval.
TranslationWebTest class core/modules/field/tests/src/Functional/TranslationWebTest.php Tests multilingual fields logic that require a full environment.
TranslationWebTest.php file core/modules/field/tests/src/Functional/TranslationWebTest.php
TranslationWebTest::$defaultTheme property core/modules/field/tests/src/Functional/TranslationWebTest.php The theme to install as the default for testing.
TranslationWebTest::$entityTypeId property core/modules/field/tests/src/Functional/TranslationWebTest.php The name of the entity type to use in this test.
TranslationWebTest::$field property core/modules/field/tests/src/Functional/TranslationWebTest.php The field to use in this test.
TranslationWebTest::$fieldName property core/modules/field/tests/src/Functional/TranslationWebTest.php The name of the field to use in this test.
TranslationWebTest::$fieldStorage property core/modules/field/tests/src/Functional/TranslationWebTest.php The field storage to use in this test.
TranslationWebTest::$modules property core/modules/field/tests/src/Functional/TranslationWebTest.php Modules to install.
TranslationWebTest::checkTranslationRevisions function core/modules/field/tests/src/Functional/TranslationWebTest.php Tests translation revisions.
TranslationWebTest::setUp function core/modules/field/tests/src/Functional/TranslationWebTest.php
TranslationWebTest::testFieldFormTranslationRevisions function core/modules/field/tests/src/Functional/TranslationWebTest.php Tests field translations when creating a new revision.
TranslationWrapper class core/lib/Drupal/Core/StringTranslation/TranslationWrapper.php Provides translatable string class.
TranslationWrapper.php file core/lib/Drupal/Core/StringTranslation/TranslationWrapper.php
TranslationWrapper::__construct function core/lib/Drupal/Core/StringTranslation/TranslationWrapper.php Constructs a new class instance.
TranslationWrapperTest class core/tests/Drupal/Tests/Core/StringTranslation/TranslationWrapperTest.php Tests the TranslationWrapper backward compatibility layer.
TranslationWrapperTest.php file core/tests/Drupal/Tests/Core/StringTranslation/TranslationWrapperTest.php
TranslationWrapperTest::testTranslationWrapper function core/tests/Drupal/Tests/Core/StringTranslation/TranslationWrapperTest.php @covers ::__construct
TranslatorInterface interface core/lib/Drupal/Core/StringTranslation/Translator/TranslatorInterface.php Interface for objects capable of string translation.
TranslatorInterface interface core/lib/Drupal/Core/Validation/TranslatorInterface.php Defines an interface used in validation.
TranslatorInterface.php file core/lib/Drupal/Core/Validation/TranslatorInterface.php
TranslatorInterface.php file core/lib/Drupal/Core/StringTranslation/Translator/TranslatorInterface.php
TranslatorInterface::getStringTranslation function core/lib/Drupal/Core/StringTranslation/Translator/TranslatorInterface.php Retrieves English string to given language.
TranslatorInterface::reset function core/lib/Drupal/Core/StringTranslation/Translator/TranslatorInterface.php Resets translation cache.
TranslatorInterface::trans function core/lib/Drupal/Core/Validation/TranslatorInterface.php Translates the given message.
Transliteration group core/lib/Drupal/Core/Language/language.api.php Transliterate from Unicode to US-ASCII
TransliterationInterface interface core/lib/Drupal/Component/Transliteration/TransliterationInterface.php Defines an interface for classes providing transliteration.
TransliterationInterface.php file core/lib/Drupal/Component/Transliteration/TransliterationInterface.php
TransliterationInterface::removeDiacritics function core/lib/Drupal/Component/Transliteration/TransliterationInterface.php Removes diacritics (accents) from certain letters.
TransliterationInterface::transliterate function core/lib/Drupal/Component/Transliteration/TransliterationInterface.php Transliterates text from Unicode to US-ASCII.
TwigMarkupInterfaceTest::testEmptyTranslation function core/tests/Drupal/KernelTests/Core/Theme/TwigMarkupInterfaceTest.php Tests behavior if a string is translated to become an empty string.
TwigNodeTrans class core/lib/Drupal/Core/Template/TwigNodeTrans.php A class that defines the Twig 'trans' tag for Drupal.
TwigNodeTrans.php file core/lib/Drupal/Core/Template/TwigNodeTrans.php
TwigNodeTrans::compile function core/lib/Drupal/Core/Template/TwigNodeTrans.php
TwigNodeTrans::compileString function core/lib/Drupal/Core/Template/TwigNodeTrans.php Extracts the text and tokens for the "trans" tag.
TwigNodeTrans::__construct function core/lib/Drupal/Core/Template/TwigNodeTrans.php
TwigThemeTestController::placeholderOutsideTransRender function core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php Controller for testing the twig placeholder filter outside of {% trans %}.
TwigThemeTestController::transBlockRender function core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php Menu callback for testing translation blocks in a Twig template.
TwigTransTest class core/modules/system/tests/src/Functional/Theme/TwigTransTest.php Tests Twig "trans" tags.
TwigTransTest.php file core/modules/system/tests/src/Functional/Theme/TwigTransTest.php
TwigTransTest::$adminUser property core/modules/system/tests/src/Functional/Theme/TwigTransTest.php An administrative user for testing.
TwigTransTest::$defaultTheme property core/modules/system/tests/src/Functional/Theme/TwigTransTest.php The theme to install as the default for testing.
TwigTransTest::$languages property core/modules/system/tests/src/Functional/Theme/TwigTransTest.php Custom languages.
TwigTransTest::$modules property core/modules/system/tests/src/Functional/Theme/TwigTransTest.php Modules to install.
TwigTransTest::assertTwigTransTags function core/modules/system/tests/src/Functional/Theme/TwigTransTest.php Asserts Twig trans tags.
TwigTransTest::installLanguages function core/modules/system/tests/src/Functional/Theme/TwigTransTest.php Helper function: install languages.
TwigTransTest::poFileContents function core/modules/system/tests/src/Functional/Theme/TwigTransTest.php Generate a custom .po file for a specific test language.
TwigTransTest::setUp function core/modules/system/tests/src/Functional/Theme/TwigTransTest.php
TwigTransTest::testEmptyTwigTransTags function core/modules/system/tests/src/Functional/Theme/TwigTransTest.php Tests empty Twig "trans" tags.

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