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
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.
TransportInfoController class core/modules/mailer/tests/modules/mailer_transport_factory_functional_test/src/Controller/TransportInfoController.php Returns responses for transport info routes.
TransportInfoController.php file core/modules/mailer/tests/modules/mailer_transport_factory_functional_test/src/Controller/TransportInfoController.php
TransportInfoController::create function core/modules/mailer/tests/modules/mailer_transport_factory_functional_test/src/Controller/TransportInfoController.php Instantiates a new instance of this class.
TransportInfoController::transportInfo function core/modules/mailer/tests/modules/mailer_transport_factory_functional_test/src/Controller/TransportInfoController.php Returns info about the configured mailer dsn and the resulting transport.
TransportInfoController::__construct function core/modules/mailer/tests/modules/mailer_transport_factory_functional_test/src/Controller/TransportInfoController.php Constructs a new transport info controller.
TransportServiceFactory class core/lib/Drupal/Core/Mailer/TransportServiceFactory.php The default mailer transport service factory.
TransportServiceFactory.php file core/lib/Drupal/Core/Mailer/TransportServiceFactory.php
TransportServiceFactory::createTransport function core/lib/Drupal/Core/Mailer/TransportServiceFactory.php Creates and returns a configured mailer transport class.
TransportServiceFactory::__construct function core/lib/Drupal/Core/Mailer/TransportServiceFactory.php Constructs a new transport service factory.
TransportServiceFactoryInterface interface core/lib/Drupal/Core/Mailer/TransportServiceFactoryInterface.php An interface defining mailer transport service factory implementations.
TransportServiceFactoryInterface.php file core/lib/Drupal/Core/Mailer/TransportServiceFactoryInterface.php
TransportServiceFactoryInterface::createTransport function core/lib/Drupal/Core/Mailer/TransportServiceFactoryInterface.php Creates and returns a configured mailer transport class.
TransportServiceFactoryTest class core/modules/mailer/tests/src/Functional/TransportServiceFactoryTest.php Tests the transport service factory in the child site of browser tests.
TransportServiceFactoryTest.php file core/modules/mailer/tests/src/Functional/TransportServiceFactoryTest.php
TransportServiceFactoryTest::$defaultTheme property core/modules/mailer/tests/src/Functional/TransportServiceFactoryTest.php The theme to install as the default for testing.
TransportServiceFactoryTest::$modules property core/modules/mailer/tests/src/Functional/TransportServiceFactoryTest.php Modules to install.
TransportServiceFactoryTest::testDefaultTestMailFactory function core/modules/mailer/tests/src/Functional/TransportServiceFactoryTest.php Test that the transport is set to null://null by default in the child site.
TransportServiceFactoryTrait trait core/lib/Drupal/Core/Mailer/TransportServiceFactoryTrait.php A trait containing helper methods for transport service construction.
TransportServiceFactoryTrait.php file core/lib/Drupal/Core/Mailer/TransportServiceFactoryTrait.php
TransportServiceFactoryTrait::$factories property core/lib/Drupal/Core/Mailer/TransportServiceFactoryTrait.php A list of transport factories.
TransportServiceFactoryTrait::fromDsnObject function core/lib/Drupal/Core/Mailer/TransportServiceFactoryTrait.php Constructs a transport instance given a DSN object.
TransportTest class core/modules/mailer/tests/src/Kernel/TransportTest.php Tests the transport factory service.
TransportTest.php file core/modules/mailer/tests/src/Kernel/TransportTest.php
TransportTest::$modules property core/modules/mailer/tests/src/Kernel/TransportTest.php Modules to install.
TransportTest::providerTestBuiltinFactory function core/modules/mailer/tests/src/Kernel/TransportTest.php Provides test data for testBuiltinFactory().
TransportTest::resetMailerDsnConfigOverride function core/modules/mailer/tests/src/Kernel/TransportTest.php Resets a mailer DSN config override.
TransportTest::setUpMailerDsnConfigOverride function core/modules/mailer/tests/src/Kernel/TransportTest.php Sets up a mailer DSN config override.
TransportTest::testBuiltinFactory function core/modules/mailer/tests/src/Kernel/TransportTest.php @dataProvider providerTestBuiltinFactory
@covers ::createTransport[[api-linebreak]]
TransportTest::testDefaultTestMailFactory function core/modules/mailer/tests/src/Kernel/TransportTest.php @covers ::createTransport[[api-linebreak]]
TransportTest::testMissingFactory function core/modules/mailer/tests/src/Kernel/TransportTest.php @covers ::createTransport[[api-linebreak]]
TransportTest::testSendmailFactoryAllowedCommand function core/modules/mailer/tests/src/Kernel/TransportTest.php @covers ::createTransport[[api-linebreak]]
@covers \Drupal\Core\Mailer\Transport\SendmailCommandValidationTransportFactory::create[[api-linebreak]]
TransportTest::testSendmailFactoryUnlistedCommand function core/modules/mailer/tests/src/Kernel/TransportTest.php @covers ::createTransport[[api-linebreak]]
@covers \Drupal\Core\Mailer\Transport\SendmailCommandValidationTransportFactory::create[[api-linebreak]]
TransportTest::testThirdPartyFactory function core/modules/mailer/tests/src/Kernel/TransportTest.php @covers ::createTransport[[api-linebreak]]
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.

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