Search for trans

  1. Search 7.x for trans
  2. Search 9.5.x for trans
  3. Search 8.9.x for trans
  4. Search 10.3.x for trans
  5. Other projects
Title Object type File name Summary
TranslationLink.php file core/modules/content_translation/src/Plugin/views/field/TranslationLink.php
TranslationLink::getDefaultLabel function core/modules/content_translation/src/Plugin/views/field/TranslationLink.php Returns the default label for this link.
TranslationLink::getEntityLinkTemplate function core/modules/content_translation/src/Plugin/views/field/TranslationLink.php Returns the entity link template name identifying the link route.
TranslationLinkTest class core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php Tests the content translation overview link field handler.
TranslationLinkTest.php file core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php
TranslationLinkTest::$defaultTheme property core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php The theme to install as the default for testing.
TranslationLinkTest::$modules property core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php Modules to install.
TranslationLinkTest::$testViews property core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php Views used by this test.
TranslationLinkTest::getTranslatorPermissions function core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php Returns an array of permissions needed for the translator.
TranslationLinkTest::setUp function core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php
TranslationLinkTest::testTranslationLink function core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php Tests the content translation overview link field handler.
TranslationManager class core/lib/Drupal/Core/StringTranslation/TranslationManager.php Defines a chained translation implementation combining multiple translators.
TranslationManager.php file core/lib/Drupal/Core/StringTranslation/TranslationManager.php
TranslationManager::$defaultLangcode property core/lib/Drupal/Core/StringTranslation/TranslationManager.php The default langcode used in translations.
TranslationManager::$sortedTranslators property core/lib/Drupal/Core/StringTranslation/TranslationManager.php An array of translators, sorted by priority.
TranslationManager::$translators property core/lib/Drupal/Core/StringTranslation/TranslationManager.php An unsorted array of arrays of active translators.
TranslationManager::addTranslator function core/lib/Drupal/Core/StringTranslation/TranslationManager.php Appends a translation system to the translation chain.
TranslationManager::doTranslate function core/lib/Drupal/Core/StringTranslation/TranslationManager.php Translates a string to the current language or to a given language.
TranslationManager::formatPlural function core/lib/Drupal/Core/StringTranslation/TranslationManager.php Formats a string containing a count of items.
TranslationManager::getStringTranslation function core/lib/Drupal/Core/StringTranslation/TranslationManager.php Retrieves English string to given language.
TranslationManager::reset function core/lib/Drupal/Core/StringTranslation/TranslationManager.php Resets translation cache.
TranslationManager::setDefaultLangcode function core/lib/Drupal/Core/StringTranslation/TranslationManager.php Sets the default langcode.
TranslationManager::sortTranslators function core/lib/Drupal/Core/StringTranslation/TranslationManager.php Sorts translators according to priority.
TranslationManager::translate function core/lib/Drupal/Core/StringTranslation/TranslationManager.php Translates a string to the current language or to a given language.
TranslationManager::translateString function core/lib/Drupal/Core/StringTranslation/TranslationManager.php Translates a TranslatableMarkup object to a string.
TranslationManager::__construct function core/lib/Drupal/Core/StringTranslation/TranslationManager.php Constructs a TranslationManager object.
TranslationManagerTest class core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php @coversDefaultClass \Drupal\Core\StringTranslation\TranslationManager
@group StringTranslation
TranslationManagerTest.php file core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php
TranslationManagerTest::$translationManager property core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php The tested translation manager.
TranslationManagerTest::providerTestFormatPlural function core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php Provides some test data for formatPlural()
TranslationManagerTest::providerTestTranslatePlaceholder function core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php Provides test data for translate().
TranslationManagerTest::setUp function core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php
TranslationManagerTest::testFormatPlural function core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php @dataProvider providerTestFormatPlural
TranslationManagerTest::testTranslatePlaceholder function core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php Tests translation using placeholders.
TranslationsStream class core/modules/locale/src/StreamWrapper/TranslationsStream.php Defines a Drupal translations (translations://) stream wrapper class.
TranslationsStream.php file core/modules/locale/src/StreamWrapper/TranslationsStream.php
TranslationsStream::getDescription function core/modules/locale/src/StreamWrapper/TranslationsStream.php Returns the description of the stream wrapper for use in the UI.
TranslationsStream::getDirectoryPath function core/modules/locale/src/StreamWrapper/TranslationsStream.php Gets the path that the wrapper is responsible for.
TranslationsStream::getExternalUrl function core/modules/locale/src/StreamWrapper/TranslationsStream.php Implements Drupal\Core\StreamWrapper\StreamWrapperInterface::getExternalUrl().
TranslationsStream::getName function core/modules/locale/src/StreamWrapper/TranslationsStream.php Returns the name of the stream wrapper for use in the UI.
TranslationsStream::getType function core/modules/locale/src/StreamWrapper/TranslationsStream.php Returns the type of stream wrapper.
TranslationStatusForm class core/modules/locale/src/Form/TranslationStatusForm.php Provides a translation status form.
TranslationStatusForm.php file core/modules/locale/src/Form/TranslationStatusForm.php
TranslationStatusForm::buildForm function core/modules/locale/src/Form/TranslationStatusForm.php Form builder for displaying the current translation status.
TranslationStatusForm::create function core/modules/locale/src/Form/TranslationStatusForm.php Instantiates a new instance of this class.
TranslationStatusForm::createInfoString function core/modules/locale/src/Form/TranslationStatusForm.php Provides debug info for projects in case translation files are not found.
TranslationStatusForm::getFormId function core/modules/locale/src/Form/TranslationStatusForm.php Returns a unique string identifying the form.
TranslationStatusForm::prepareUpdateData function core/modules/locale/src/Form/TranslationStatusForm.php Prepare information about projects with available translation updates.
TranslationStatusForm::submitForm function core/modules/locale/src/Form/TranslationStatusForm.php Form submission handler.
TranslationStatusForm::validateForm function core/modules/locale/src/Form/TranslationStatusForm.php Form validation handler.

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