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
LocaleTranslation class core/modules/locale/src/LocaleTranslation.php String translator using the locale module.
LocaleTranslation class core/modules/locale/src/Plugin/QueueWorker/LocaleTranslation.php Executes interface translation queue tasks.
LocaleTranslation.php file core/modules/locale/src/LocaleTranslation.php
LocaleTranslation.php file core/modules/locale/src/Plugin/QueueWorker/LocaleTranslation.php
LocaleTranslation::$cache property core/modules/locale/src/LocaleTranslation.php The cache backend that should be used.
LocaleTranslation::$configFactory property core/modules/locale/src/LocaleTranslation.php The configuration factory.
LocaleTranslation::$languageManager property core/modules/locale/src/LocaleTranslation.php The language manager.
LocaleTranslation::$lock property core/modules/locale/src/LocaleTranslation.php The lock backend that should be used.
LocaleTranslation::$moduleHandler property core/modules/locale/src/Plugin/QueueWorker/LocaleTranslation.php The module handler.
LocaleTranslation::$queue property core/modules/locale/src/Plugin/QueueWorker/LocaleTranslation.php The queue object.
LocaleTranslation::$requestStack property core/modules/locale/src/LocaleTranslation.php The request stack.
LocaleTranslation::$storage property core/modules/locale/src/LocaleTranslation.php Storage for strings.
LocaleTranslation::$translateEnglish property core/modules/locale/src/LocaleTranslation.php The translate english configuration value.
LocaleTranslation::$translations property core/modules/locale/src/LocaleTranslation.php Cached translations.
LocaleTranslation::canTranslateEnglish function core/modules/locale/src/LocaleTranslation.php Gets translate english configuration value.
LocaleTranslation::create function core/modules/locale/src/Plugin/QueueWorker/LocaleTranslation.php Creates an instance of the plugin.
LocaleTranslation::destruct function core/modules/locale/src/LocaleTranslation.php Performs destruct operations.
LocaleTranslation::getStringTranslation function core/modules/locale/src/LocaleTranslation.php Retrieves English string to given language.
LocaleTranslation::processItem function core/modules/locale/src/Plugin/QueueWorker/LocaleTranslation.php The translation update functions executed here are batch operations which
are also used in translation update batches. The batch functions may need
to be executed multiple times to complete their task, typically this is the
translation import…
LocaleTranslation::reset function core/modules/locale/src/LocaleTranslation.php Resets translation cache.
LocaleTranslation::__construct function core/modules/locale/src/LocaleTranslation.php Constructs a translator using a string storage.
LocaleTranslation::__construct function core/modules/locale/src/Plugin/QueueWorker/LocaleTranslation.php Constructs a new LocaleTranslation object.
LocaleTranslationCacheTag class core/modules/locale/src/EventSubscriber/LocaleTranslationCacheTag.php A subscriber invalidating cache tags when translating a string.
LocaleTranslationCacheTag.php file core/modules/locale/src/EventSubscriber/LocaleTranslationCacheTag.php
LocaleTranslationCacheTag::$cacheTagsInvalidator property core/modules/locale/src/EventSubscriber/LocaleTranslationCacheTag.php The cache tags invalidator.
LocaleTranslationCacheTag::getSubscribedEvents function core/modules/locale/src/EventSubscriber/LocaleTranslationCacheTag.php
LocaleTranslationCacheTag::saveTranslation function core/modules/locale/src/EventSubscriber/LocaleTranslationCacheTag.php Invalidate cache tags whenever a string is translated.
LocaleTranslationCacheTag::__construct function core/modules/locale/src/EventSubscriber/LocaleTranslationCacheTag.php Constructs a LocaleTranslationCacheTag object.
LocaleTranslationChangeProjectVersionTest class core/modules/locale/tests/src/Functional/LocaleTranslationChangeProjectVersionTest.php Tests how translations are handled when a project gets updated.
LocaleTranslationChangeProjectVersionTest.php file core/modules/locale/tests/src/Functional/LocaleTranslationChangeProjectVersionTest.php
LocaleTranslationChangeProjectVersionTest::$defaultTheme property core/modules/locale/tests/src/Functional/LocaleTranslationChangeProjectVersionTest.php The theme to install as the default for testing.
LocaleTranslationChangeProjectVersionTest::setUp function core/modules/locale/tests/src/Functional/LocaleTranslationChangeProjectVersionTest.php
LocaleTranslationChangeProjectVersionTest::testUpdateImportSourceRemote function core/modules/locale/tests/src/Functional/LocaleTranslationChangeProjectVersionTest.php Tests update translations when project version changes.
LocaleTranslationDownloadTest class core/modules/locale/tests/src/Functional/LocaleTranslationDownloadTest.php Tests locale translation download.
LocaleTranslationDownloadTest.php file core/modules/locale/tests/src/Functional/LocaleTranslationDownloadTest.php
LocaleTranslationDownloadTest::$defaultTheme property core/modules/locale/tests/src/Functional/LocaleTranslationDownloadTest.php The theme to install as the default for testing.
LocaleTranslationDownloadTest::$translationsStream property core/modules/locale/tests/src/Functional/LocaleTranslationDownloadTest.php The virtual file stream for storing translations.
LocaleTranslationDownloadTest::setUp function core/modules/locale/tests/src/Functional/LocaleTranslationDownloadTest.php
LocaleTranslationDownloadTest::testUpdateImportSourceRemote function core/modules/locale/tests/src/Functional/LocaleTranslationDownloadTest.php Tests translation download from remote sources.
LocaleTranslationProjectsTest class core/modules/locale/tests/src/Kernel/LocaleTranslationProjectsTest.php Tests locale translation project handling.
LocaleTranslationProjectsTest.php file core/modules/locale/tests/src/Kernel/LocaleTranslationProjectsTest.php
LocaleTranslationProjectsTest::$moduleHandler property core/modules/locale/tests/src/Kernel/LocaleTranslationProjectsTest.php The module handler used in this test.
LocaleTranslationProjectsTest::$modules property core/modules/locale/tests/src/Kernel/LocaleTranslationProjectsTest.php Modules to install.
LocaleTranslationProjectsTest::$projectStorage property core/modules/locale/tests/src/Kernel/LocaleTranslationProjectsTest.php The locale project storage used in this test.
LocaleTranslationProjectsTest::setUp function core/modules/locale/tests/src/Kernel/LocaleTranslationProjectsTest.php
LocaleTranslationProjectsTest::testLocaleTranslationClearCacheProjects function core/modules/locale/tests/src/Kernel/LocaleTranslationProjectsTest.php Tests locale_translation_clear_cache_projects().
LocaleTranslationTest class core/modules/locale/tests/src/Unit/LocaleTranslationTest.php @coversDefaultClass \Drupal\locale\LocaleTranslation
@group locale
LocaleTranslationTest class core/modules/locale/tests/src/Kernel/LocaleTranslationTest.php @coversDefaultClass \Drupal\locale\LocaleTranslation
@group locale
LocaleTranslationTest.php file core/modules/locale/tests/src/Unit/LocaleTranslationTest.php
LocaleTranslationTest.php file core/modules/locale/tests/src/Kernel/LocaleTranslationTest.php

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