Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 10.3.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
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.
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 enable.
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[[api-linebreak]]
@group locale
LocaleTranslationTest class core/modules/locale/tests/src/Kernel/LocaleTranslationTest.php @coversDefaultClass \Drupal\locale\LocaleTranslation[[api-linebreak]]
@group locale
LocaleTranslationTest.php file core/modules/locale/tests/src/Unit/LocaleTranslationTest.php
LocaleTranslationTest.php file core/modules/locale/tests/src/Kernel/LocaleTranslationTest.php
LocaleTranslationTest::$languageManager property core/modules/locale/tests/src/Unit/LocaleTranslationTest.php A mocked language manager built from LanguageManagerInterface.
LocaleTranslationTest::$modules property core/modules/locale/tests/src/Kernel/LocaleTranslationTest.php Modules to enable.
LocaleTranslationTest::$requestStack property core/modules/locale/tests/src/Unit/LocaleTranslationTest.php The request stack.
LocaleTranslationTest::$storage property core/modules/locale/tests/src/Unit/LocaleTranslationTest.php A mocked storage to use when instantiating LocaleTranslation objects.
LocaleTranslationTest::setUp function core/modules/locale/tests/src/Unit/LocaleTranslationTest.php
LocaleTranslationTest::testDestruct function core/modules/locale/tests/src/Unit/LocaleTranslationTest.php Tests for \Drupal\locale\LocaleTranslation::destruct().
LocaleTranslationTest::testSerializable function core/modules/locale/tests/src/Kernel/LocaleTranslationTest.php Tests that \Drupal\locale\LocaleTranslation is serializable.
LocaleTranslationUiTest class core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php Adds a new locale and translates its name. Checks the validation of
translation strings and search results.
LocaleTranslationUiTest.php file core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php
LocaleTranslationUiTest::$defaultTheme property core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php The theme to install as the default for testing.
LocaleTranslationUiTest::$modules property core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php Modules to enable.
LocaleTranslationUiTest::testEnglishTranslation function core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php Enable interface translation to English.
LocaleTranslationUiTest::testJavaScriptTranslation function core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php Adds a language and checks that the JavaScript translation files are
properly created and rebuilt on deletion.
LocaleTranslationUiTest::testStringSearch function core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php Tests translation search form.
LocaleTranslationUiTest::testStringTranslation function core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php Adds a language and tests string translation by users with the appropriate permissions.
LocaleTranslationUiTest::testStringValidation function core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php Tests the validation of the translation input.

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