Search for trans
- Search 7.x for trans
- Search 9.5.x for trans
- Search 8.9.x for trans
- Search 10.3.x for trans
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| TransportServiceFactoryTrait | trait | core/ |
A trait containing helper methods for transport service construction. |
| TransportServiceFactoryTrait.php | file | core/ |
|
| TransportServiceFactoryTrait::$factories | property | core/ |
A list of transport factories. |
| TransportServiceFactoryTrait::fromDsnObject | function | core/ |
Constructs a transport instance given a DSN object. |
| TransportTest | class | core/ |
Tests the transport factory service. |
| TransportTest.php | file | core/ |
|
| TransportTest::$modules | property | core/ |
Modules to install. |
| TransportTest::providerTestBuiltinFactory | function | core/ |
Provides test data for testBuiltinFactory(). |
| TransportTest::resetMailerDsnConfigOverride | function | core/ |
Resets a mailer DSN config override. |
| TransportTest::setUpMailerDsnConfigOverride | function | core/ |
Sets up a mailer DSN config override. |
| TransportTest::testBuiltinFactory | function | core/ |
Tests builtin factory. |
| TransportTest::testDefaultTestMailFactory | function | core/ |
Tests default test mail factory. |
| TransportTest::testMissingFactory | function | core/ |
Tests missing factory. |
| TransportTest::testSendmailFactoryAllowedCommand | function | core/ |
Tests sendmail factory allowed command. |
| TransportTest::testSendmailFactoryUnlistedCommand | function | core/ |
Tests sendmail factory unlisted command. |
| TransportTest::testThirdPartyFactory | function | core/ |
Tests third party factory. |
| TwigMarkupInterfaceTest::testEmptyTranslation | function | core/ |
Tests behavior if a string is translated to become an empty string. |
| TwigNodeTrans | class | core/ |
A class that defines the Twig 'trans' tag for Drupal. |
| TwigNodeTrans.php | file | core/ |
|
| TwigNodeTrans::compile | function | core/ |
|
| TwigNodeTrans::compileString | function | core/ |
Extracts the text and tokens for the "trans" tag. |
| TwigNodeTrans::__construct | function | core/ |
|
| TwigThemeTestController::placeholderOutsideTransRender | function | core/ |
Controller for testing the twig placeholder filter outside of {% trans %}. |
| TwigThemeTestController::transBlockRender | function | core/ |
Menu callback for testing translation blocks in a Twig template. |
| TwigTransTest | class | core/ |
Tests Twig "trans" tags. |
| TwigTransTest.php | file | core/ |
|
| TwigTransTest::$adminUser | property | core/ |
An administrative user for testing. |
| TwigTransTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| TwigTransTest::$languages | property | core/ |
Custom languages. |
| TwigTransTest::$modules | property | core/ |
Modules to install. |
| TwigTransTest::assertTwigTransTags | function | core/ |
Asserts Twig trans tags. |
| TwigTransTest::installLanguages | function | core/ |
Helper function: install languages. |
| TwigTransTest::poFileContents | function | core/ |
Generate a custom .po file for a specific test language. |
| TwigTransTest::setUp | function | core/ |
|
| TwigTransTest::testEmptyTwigTransTags | function | core/ |
Tests empty Twig "trans" tags. |
| TwigTransTest::testTransRenderArray | function | core/ |
Testing trans with render array value. |
| TwigTransTest::testTwigTransTags | function | core/ |
Tests Twig "trans" tags. |
| TwigTransTokenParser | class | core/ |
A class that defines the Twig 'trans' token parser for Drupal. |
| TwigTransTokenParser.php | file | core/ |
|
| TwigTransTokenParser::checkTransString | function | core/ |
Ensure that any nodes that are parsed are only of allowed types. |
| TwigTransTokenParser::decideForEnd | function | core/ |
Detect the end of a 'trans' tag. |
| TwigTransTokenParser::decideForFork | function | core/ |
Detect a 'plural' switch or the end of a 'trans' tag. |
| TwigTransTokenParser::getTag | function | core/ |
|
| TwigTransTokenParser::parse | function | core/ |
|
| twig_theme_test.placeholder_outside_trans.html.twig | file | core/ |
Placeholder outside trans: {{ var | placeholder }} {% trans %} Placeholder inside trans: {{ var | placeholder }} {% endtrans %} |
| twig_theme_test.trans.html.twig | file | core/ |
{# Test trans tag with string argument. #} <div> {% trans 'Hello sun.' %} </div> {# Test trans tag with string argument and context #} <div> {% trans 'Hello sun.' with {'context':… |
| UnitTestCase::getStringTranslationStub | function | core/ |
Returns a stub translation manager that just returns the passed string. |
| UnmetDependenciesException::getTranslatedMessage | function | core/ |
Gets a translated message from the exception. |
| UpdaterFileTransferException | class | core/ |
Defines a child class of Drupal\Core\Updater\UpdaterException. |
| UpdaterFileTransferException.php | file | core/ |
Pagination
- Previous page
- Page 72
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.