Search for trans

  1. Search 7.x for trans
  2. Search 8.9.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
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
@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
LocaleTranslationTest::$cache property core/modules/locale/tests/src/Unit/LocaleTranslationTest.php A mocked cache to use when instantiating LocaleTranslation objects.
LocaleTranslationTest::$languageManager property core/modules/locale/tests/src/Unit/LocaleTranslationTest.php A mocked language manager built from LanguageManagerInterface.
LocaleTranslationTest::$lock property core/modules/locale/tests/src/Unit/LocaleTranslationTest.php A mocked lock to use when instantiating LocaleTranslation objects.
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 Tests 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 Tests the rebuilding of JavaScript translation files 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.
LocaleTranslationUiTest::testUICustomizedStrings function core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php Tests that only changed strings are saved customized when edited.
LocaleUpdateBase::assertTranslation function core/modules/locale/tests/src/Functional/LocaleUpdateBase.php Checks the translation of a string.
LocaleUpdateBase::setCurrentTranslations function core/modules/locale/tests/src/Functional/LocaleUpdateBase.php Sets up existing translations and their statuses in the database.
LocaleUpdateBase::setTranslationFiles function core/modules/locale/tests/src/Functional/LocaleUpdateBase.php Setup the environment containing local and remote translation files.
LocaleUpdateBase::setTranslationsDirectory function core/modules/locale/tests/src/Functional/LocaleUpdateBase.php Sets the value of the default translations directory.
locale_is_translatable function core/modules/locale/locale.module Checks whether $langcode is a language supported as a locale target.
locale_js_translate function core/modules/locale/locale.module Returns a list of translation files given a list of JavaScript files.
locale_test.no_translation.yml file core/modules/locale/tests/modules/locale_test/config/install/locale_test.no_translation.yml core/modules/locale/tests/modules/locale_test/config/install/locale_test.no_translation.yml
locale_test.translation.yml file core/modules/locale/tests/modules/locale_test/config/install/language/de/locale_test.translation.yml core/modules/locale/tests/modules/locale_test/config/install/language/de/locale_test.translation.yml
locale_test.translation.yml file core/modules/locale/tests/modules/locale_test/config/install/locale_test.translation.yml core/modules/locale/tests/modules/locale_test/config/install/locale_test.translation.yml

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