Search for stringTranslation
- Search 7.x for stringTranslation
- Search 9.5.x for stringTranslation
- Search 8.9.x for stringTranslation
- Search 10.3.x for stringTranslation
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| BreakpointTest::$stringTranslation | property | core/ |
The mocked translator. |
| CommentLinkBuilderTest::$stringTranslation | property | core/ |
String translation mock. |
| ContextualLinkDefaultTest::$stringTranslation | property | core/ |
The mocked translator. |
| DateTest::$stringTranslation | property | core/ |
The mocked string translation. |
| EntityFormInterface::setStringTranslation | function | core/ |
Sets the string translation service for this form. |
| EntityTypeManager::$stringTranslation | property | core/ |
The string translation service. |
| FormAjaxSubscriberTest::$stringTranslation | property | core/ |
The mocked string translation. |
| HistoryCommentLinkBuilderTest::$stringTranslation | property | core/ |
String translation mock. |
| LocalActionDefaultTest::$stringTranslation | property | core/ |
The mocked translator. |
| LocaleConfigManager::getStringTranslation | function | core/ |
Get the translation object for the given source/context and language. |
| LocaleConfigManagerTest::testGetStringTranslation | function | core/ |
Tests getStringTranslation(). |
| LocaleTranslation::getStringTranslation | function | core/ |
Retrieves English string to given language. |
| LocaleTranslationUiTest::testStringTranslation | function | core/ |
Adds a language and tests string translation by users with the appropriate permissions. |
| LocalTaskDefaultTest::$stringTranslation | property | core/ |
The mocked translator. |
| PermissionHandlerTest::$stringTranslation | property | core/ |
The mocked string translation. |
| StaticTranslation::getStringTranslation | function | core/ |
Retrieves English string to given language. |
| StringTranslationTrait | trait | core/ |
Wrapper methods for \Drupal\Core\StringTranslation\TranslationInterface. |
| StringTranslationTrait.php | file | core/ |
|
| StringTranslationTrait::$stringTranslation | property | core/ |
The string translation service. |
| StringTranslationTrait::formatPlural | function | core/ |
Formats a string containing a count of items. |
| StringTranslationTrait::getNumberOfPlurals | function | core/ |
Returns the number of plurals supported by a given language. |
| StringTranslationTrait::getStringTranslation | function | core/ |
Gets the string translation service. |
| StringTranslationTrait::setStringTranslation | function | core/ |
Sets the string translation service to use. |
| StringTranslationTrait::t | function | core/ |
Translates a string to the current language or to a given language. |
| StringTranslationTraitTest | class | core/ |
Tests Drupal\Core\StringTranslation\StringTranslationTrait. |
| StringTranslationTraitTest.php | file | core/ |
|
| StringTranslationTraitTest::$testObject | property | core/ |
The object under test that uses StringTranslationTrait. |
| StringTranslationTraitTest::setUp | function | core/ |
|
| StringTranslationTraitTest::testFormatPlural | function | core/ |
Tests formatPlural(). |
| StringTranslationTraitTest::testT | function | core/ |
Tests t(). |
| StubEntityHandlerBase::$stringTranslation | property | core/ |
The string translation service. |
| TestEntityForm::$stringTranslation | property | core/ |
The string translation service. |
| TestMigrateExecutable::setStringTranslation | function | core/ |
Sets the string translation service. |
| TestPathBasedBreadcrumbBuilder::setStringTranslation | function | core/ |
Sets the string translation service to use. |
| TestRouteProvider::$stringTranslation | property | core/ |
The string translation service. |
| TranslatableMarkup::$stringTranslation | property | core/ |
The string translation service. |
| TranslatableMarkup::getStringTranslation | function | core/ |
Gets the string translation service. |
| TranslationManager::getStringTranslation | function | core/ |
Retrieves English string to given language. |
| TranslatorInterface::getStringTranslation | function | core/ |
Retrieves English string to given language. |
| UnitTestCase::getStringTranslationStub | function | core/ |
Returns a stub translation manager that just returns the passed string. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.