Search for translateString

  1. Search 7.x for translateString
  2. Search 9.5.x for translateString
  3. Search 8.9.x for translateString
  4. Search 10.3.x for translateString
  5. Other projects
Title Object type File name Summary
LocaleConfigManager::translateString function core/modules/locale/src/LocaleConfigManager.php Translates string using the localization system.
LocaleTranslateStringTourTest class core/modules/tour/tests/src/Functional/Locale/LocaleTranslateStringTourTest.php Tests the Translate Interface tour.
LocaleTranslateStringTourTest.php file core/modules/tour/tests/src/Functional/Locale/LocaleTranslateStringTourTest.php
LocaleTranslateStringTourTest::$adminUser property core/modules/tour/tests/src/Functional/Locale/LocaleTranslateStringTourTest.php An admin user with administrative permissions to translate.
LocaleTranslateStringTourTest::$defaultTheme property core/modules/tour/tests/src/Functional/Locale/LocaleTranslateStringTourTest.php The theme to install as the default for testing.
LocaleTranslateStringTourTest::$modules property core/modules/tour/tests/src/Functional/Locale/LocaleTranslateStringTourTest.php Modules to enable.
LocaleTranslateStringTourTest::setUp function core/modules/tour/tests/src/Functional/Locale/LocaleTranslateStringTourTest.php
LocaleTranslateStringTourTest::testTranslateStringTourTips function core/modules/tour/tests/src/Functional/Locale/LocaleTranslateStringTourTest.php Tests locale tour tip availability.
TestTranslationManager::translateString function core/modules/user/tests/src/Unit/PermissionHandlerTest.php
TranslationInterface::translateString function core/lib/Drupal/Core/StringTranslation/TranslationInterface.php Translates a TranslatableMarkup object to a string.
TranslationManager::translateString function core/lib/Drupal/Core/StringTranslation/TranslationManager.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.