Search for trans
Title | Object type | File name | Summary |
---|---|---|---|
TranslationWrapperTest.php | file | core/ |
|
TranslationWrapperTest::testTranslationWrapper | function | core/ |
@covers ::__construct @group legacy |
TranslatorInterface | interface | core/ |
Interface for objects capable of string translation. |
TranslatorInterface | interface | core/ |
Defines an interface used in validation. |
TranslatorInterface.php | file | core/ |
|
TranslatorInterface.php | file | core/ |
|
TranslatorInterface::getStringTranslation | function | core/ |
Retrieves English string to given language. |
TranslatorInterface::reset | function | core/ |
Resets translation cache. |
TranslatorInterface::trans | function | core/ |
Translates the given message. |
transliteration | service | core/ |
Drupal\Core\Transliteration\PhpTransliteration |
Transliteration | group | core/ |
Transliterate from Unicode to US-ASCII |
TransliterationInterface | interface | core/ |
Defines an interface for classes providing transliteration. |
TransliterationInterface.php | file | core/ |
|
TransliterationInterface::removeDiacritics | function | core/ |
Removes diacritics (accents) from certain letters. |
TransliterationInterface::transliterate | function | core/ |
Transliterates text from Unicode to US-ASCII. |
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::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/ |
|
update_manager_local_transfers_allowed | function | core/ |
Determines if file transfers will be performed locally. |
update_test_filetransfer_info | function | core/ |
Implements hook_filetransfer_info(). |
Pagination
- Previous page
- Page 70
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.