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. Search 11.x for trans
  6. Other projects
Title Object type File name Summary
TranslationLanguageRenderer.php file core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php
TranslationLanguageRenderer::$langcodeAlias property core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php Stores the field alias of the langcode column.
TranslationLanguageRenderer::getCacheContexts function core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php
TranslationLanguageRenderer::getLangcode function core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php
TranslationLanguageRenderer::getLangcodeTable function core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php Returns the name of the table holding the "langcode" field.
TranslationLanguageRenderer::preRenderByRelationship function core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php
TranslationLanguageRenderer::query function core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php
TranslationLanguageRenderer::renderByRelationship function core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php
TranslationLink class core/modules/content_translation/src/Plugin/views/field/TranslationLink.php Provides a translation link for an entity.
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
TranslationLink::getEntityLinkTemplate function core/modules/content_translation/src/Plugin/views/field/TranslationLink.php
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
TranslationLinkTest::$modules property core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php
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
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
TranslationManager::getStringTranslation function core/lib/Drupal/Core/StringTranslation/TranslationManager.php
TranslationManager::reset function core/lib/Drupal/Core/StringTranslation/TranslationManager.php
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
TranslationManager::translateString function core/lib/Drupal/Core/StringTranslation/TranslationManager.php
TranslationManager::__construct function core/lib/Drupal/Core/StringTranslation/TranslationManager.php Constructs a TranslationManager object.
TranslationManagerTest class core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php Tests Drupal\Core\StringTranslation\TranslationManager.
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 Tests format plural.
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::basePath function core/modules/locale/src/StreamWrapper/TranslationsStream.php Returns the base path for translations://.
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 phpcs:ignore Drupal.Files.LineLength
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.

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