Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search 11.x for all
  6. Other projects
Title Object type File name Summary
TranslationString::getString function core/modules/locale/src/TranslationString.php
TranslationString::isNew function core/modules/locale/src/TranslationString.php
TranslationString::isSource function core/modules/locale/src/TranslationString.php
TranslationString::isTranslation function core/modules/locale/src/TranslationString.php
TranslationString::save function core/modules/locale/src/TranslationString.php
TranslationString::setCustomized function core/modules/locale/src/TranslationString.php Sets the string as customized / not customized.
TranslationString::setString function core/modules/locale/src/TranslationString.php
TranslationString::__construct function core/modules/locale/src/TranslationString.php
TranslationStringTest class core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php Tests the TranslatableMarkup class.
TranslationStringTest.php file core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php
TranslationStringTest::$modules property core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php
TranslationStringTest::rebootAndPrepareSettings function core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php Reboots the kernel to set custom translations in Settings.
TranslationStringTest::setUp function core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php
TranslationStringTest::testComparison function core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php Tests that TranslatableMarkup objects can be compared.
TranslationTest class core/modules/field/tests/src/Kernel/TranslationTest.php Tests multilingual fields logic.
TranslationTest class core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php Tests Drupal\Core\Annotation\Translation.
TranslationTest.php file core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php
TranslationTest.php file core/modules/field/tests/src/Kernel/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 install.
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
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 Tests 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
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
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.
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.

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