Search for trans

  1. Search 7.x for trans
  2. Search 9.5.x for trans
  3. Search 10.3.x for trans
  4. Search 11.x for trans
  5. Other projects
Title Object type File name Summary
TranslateFormBase class core/modules/locale/src/Form/TranslateFormBase.php Defines the locale user interface translation form base.
TranslateFormBase.php file core/modules/locale/src/Form/TranslateFormBase.php
TranslateFormBase::$filterValues property core/modules/locale/src/Form/TranslateFormBase.php
TranslateFormBase::$languageManager property core/modules/locale/src/Form/TranslateFormBase.php The language manager.
TranslateFormBase::$localeStorage property core/modules/locale/src/Form/TranslateFormBase.php The locale storage.
TranslateFormBase::$state property core/modules/locale/src/Form/TranslateFormBase.php The state store.
TranslateFormBase::create function core/modules/locale/src/Form/TranslateFormBase.php Instantiates a new instance of this class.
TranslateFormBase::translateFilterLoadStrings function core/modules/locale/src/Form/TranslateFormBase.php Builds a string search query and returns an array of string objects.
TranslateFormBase::translateFilters function core/modules/locale/src/Form/TranslateFormBase.php Lists locale translation filters that can be applied.
TranslateFormBase::translateFilterValues function core/modules/locale/src/Form/TranslateFormBase.php Builds an array out of search criteria specified in request variables.
TranslateFormBase::__construct function core/modules/locale/src/Form/TranslateFormBase.php Constructs a new TranslationFormBase object.
Translation class core/lib/Drupal/Core/Annotation/Translation.php Defines a translatable annotation object.
Translation.php file core/lib/Drupal/Core/Annotation/Translation.php
Translation::$translation property core/lib/Drupal/Core/Annotation/Translation.php The string translation object.
Translation::get function core/lib/Drupal/Core/Annotation/Translation.php Gets the value of an annotation.
Translation::__construct function core/lib/Drupal/Core/Annotation/Translation.php Constructs a new class instance.
TranslationInterface interface core/lib/Drupal/Core/StringTranslation/TranslationInterface.php Interface for the translation.manager translation service.
TranslationInterface.php file core/lib/Drupal/Core/StringTranslation/TranslationInterface.php
TranslationInterface::formatPlural function core/lib/Drupal/Core/StringTranslation/TranslationInterface.php Formats a string containing a count of items.
TranslationInterface::translate function core/lib/Drupal/Core/StringTranslation/TranslationInterface.php Translates a string to the current language or to a given language.
TranslationInterface::translateString function core/lib/Drupal/Core/StringTranslation/TranslationInterface.php Translates a TranslatableMarkup object to a string.
TranslationLanguageRenderer class core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php Renders entity translations in their row language.
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 The cache contexts associated with this object.
TranslationLanguageRenderer::getLangcode function core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php Returns the language code associated with the given row.
TranslationLanguageRenderer::getLangcodeTable function core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php Returns the name of the table holding the "langcode" field.
TranslationLanguageRenderer::preRender function core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php Runs before each entity is rendered.
TranslationLanguageRenderer::query function core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php Alters the query if needed.
TranslationLanguageRenderer::render function core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php Renders entity data.
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 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 enable.
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.

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