Search for trans
- Search 7.x for trans
- Search 9.5.x for trans
- Search 10.3.x for trans
- Search 11.x for trans
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
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. |
transliteration_data.php.txt | file | core/ |
Unifies formats of transliteration data from various sources. |
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 enable. |
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/ |
Test empty Twig "trans" tags. |
TwigTransTest::testTwigTransTags | function | core/ |
Test 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 that indicates a Drupal\Core\FileTransfer\FileTransfer exception. |
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(). |
UriDependentTestImageEffect::transformDimensions | function | core/ |
Determines the dimensions of the styled image. |
UrlAliasLanguage::transform | function | core/ |
Performs the associated process. |
UrlEncode::transform | function | core/ |
Performs the associated process. |
Pagination
- Previous page
- Page 67
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.