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::__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 \Drupal\Component\Plugin\PluginBase object.
LocaleTranslation::__sleep function core/modules/locale/src/LocaleTranslation.php
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 \Drupal\locale\LocaleProjectStorageInterface::resetCache().
LocaleTranslationSource class core/modules/locale/src/LocaleTranslationSource.php Provides source and translation status information for a project/langcode.
LocaleTranslationSource.php file core/modules/locale/src/LocaleTranslationSource.php
LocaleTranslationSource::$core property core/modules/locale/src/LocaleTranslationSource.php The core for the Server pattern, always "all".
LocaleTranslationSource::$files property core/modules/locale/src/LocaleTranslationSource.php List of locale file object.
LocaleTranslationSource::$name property core/modules/locale/src/LocaleTranslationSource.php The project name.
LocaleTranslationSource::$server_pattern property core/modules/locale/src/LocaleTranslationSource.php The server pattern.
LocaleTranslationSource::$version property core/modules/locale/src/LocaleTranslationSource.php The version.
LocaleTranslationSource::fromProject function core/modules/locale/src/LocaleTranslationSource.php Create a LocaleTranslationSource object from a project.
LocaleTranslationSource::getFile function core/modules/locale/src/LocaleTranslationSource.php Returns file for the source.
LocaleTranslationSource::getType function core/modules/locale/src/LocaleTranslationSource.php Returns type of the source.
LocaleTranslationSource::isUpdateAvailable function core/modules/locale/src/LocaleTranslationSource.php Returns whether an update is available.
LocaleTranslationSource::__construct function core/modules/locale/src/LocaleTranslationSource.php
LocaleTranslationTest class core/modules/locale/tests/src/Unit/LocaleTranslationTest.php Tests Drupal\locale\LocaleTranslation.
LocaleTranslationTest class core/modules/locale/tests/src/Kernel/LocaleTranslationTest.php Tests Drupal\locale\LocaleTranslation.
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 install.
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

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