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
TranslationTest.php file core/modules/field/tests/src/Kernel/TranslationTest.php
TranslationTest.php file core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php
TranslationTest::$entityType property core/modules/field/tests/src/Kernel/TranslationTest.php The name of the entity type to use in this test.
TranslationTest::$field property core/modules/field/tests/src/Kernel/TranslationTest.php The field to use in this test.
TranslationTest::$fieldDefinition property core/modules/field/tests/src/Kernel/TranslationTest.php An array defining the field to use in this test.
TranslationTest::$fieldName property core/modules/field/tests/src/Kernel/TranslationTest.php The name of the field to use in this test.
TranslationTest::$fieldStorage property core/modules/field/tests/src/Kernel/TranslationTest.php The field storage to use in this test.
TranslationTest::$fieldStorageDefinition property core/modules/field/tests/src/Kernel/TranslationTest.php An array defining the field storage to use in this test.
TranslationTest::$modules property core/modules/field/tests/src/Kernel/TranslationTest.php Modules to enable.
TranslationTest::$translationManager property core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php The translation manager used for testing.
TranslationTest::providerTestGet function core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php Provides data to self::testGet().
TranslationTest::setUp function core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php
TranslationTest::setUp function core/modules/field/tests/src/Kernel/TranslationTest.php Set the default field storage backend for fields created during tests.
TranslationTest::testFieldAccess function core/modules/field/tests/src/Kernel/TranslationTest.php Tests field access.
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 multilanguage 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 enable.
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 class.
TranslationWrapperTest.php file core/tests/Drupal/Tests/Core/StringTranslation/TranslationWrapperTest.php
TranslationWrapperTest::testTranslationWrapper function core/tests/Drupal/Tests/Core/StringTranslation/TranslationWrapperTest.php @covers ::__construct
@group legacy
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/StringTranslation/Translator/TranslatorInterface.php
TranslatorInterface.php file core/lib/Drupal/Core/Validation/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 service core/core.services.yml Drupal\Core\Transliteration\PhpTransliteration
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

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