Search for stringTranslation
- Search 7.x for stringTranslation
- Search 9.5.x for stringTranslation
- Search 8.9.x for stringTranslation
- Search 11.x for stringTranslation
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| BookManager::setStringTranslation | function | core/ |
|
| BookUninstallValidator::setStringTranslation | function | core/ |
|
| BreakpointTest::$stringTranslation | property | core/ |
The mocked translator. |
| CommentLinkBuilderTest::$stringTranslation | property | core/ |
String translation mock. |
| ContentUninstallValidator::setStringTranslation | function | core/ |
|
| ContextualLinkDefaultTest::$stringTranslation | property | core/ |
The mocked translator. |
| DatabaseDriverUninstallValidator::setStringTranslation | function | core/ |
|
| 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. |
| FieldUninstallValidator::setStringTranslation | function | core/ |
|
| FilterUninstallValidator::setStringTranslation | function | core/ |
|
| FormAjaxSubscriberTest::$stringTranslation | property | core/ |
The mocked string translation. |
| ForumUninstallValidator::setStringTranslation | function | core/ |
|
| InstallProfileUninstallValidator::setStringTranslation | function | core/ |
|
| 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. |
| ModuleRequiredByThemesUninstallValidator::setStringTranslation | function | core/ |
|
| PermissionHandlerTest::$stringTranslation | property | core/ |
The mocked string translation. |
| RequiredModuleUninstallValidator::setStringTranslation | function | core/ |
|
| 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/ |
@coversDefaultClass \Drupal\Core\StringTranslation\StringTranslationTrait[[api-linebreak]] @group StringTranslation |
| StringTranslationTraitTest.php | file | core/ |
|
| StringTranslationTraitTest::$testObject | property | core/ |
The object under test that uses StringTranslationTrait. |
| StringTranslationTraitTest::setUp | function | core/ |
|
| StringTranslationTraitTest::testFormatPlural | function | core/ |
@covers ::formatPlural[[api-linebreak]] |
| StringTranslationTraitTest::testT | function | core/ |
@covers ::t[[api-linebreak]] |
| TestEntityForm::$stringTranslation | property | core/ |
The string translation service. |
| TestEntityHandlerBase::$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.