Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search 11.x for all
  6. Other projects
Title Object type File name Summary
TranslationManager::reset function core/lib/Drupal/Core/StringTranslation/TranslationManager.php
TranslationManager::setDefaultLangcode function core/lib/Drupal/Core/StringTranslation/TranslationManager.php Sets the default langcode.
TranslationManager::sortTranslators function core/lib/Drupal/Core/StringTranslation/TranslationManager.php Sorts translators according to priority.
TranslationManager::translate function core/lib/Drupal/Core/StringTranslation/TranslationManager.php
TranslationManager::translateString function core/lib/Drupal/Core/StringTranslation/TranslationManager.php
TranslationManager::__construct function core/lib/Drupal/Core/StringTranslation/TranslationManager.php Constructs a TranslationManager object.
TranslationManagerTest class core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php Tests Drupal\Core\StringTranslation\TranslationManager.
TranslationManagerTest.php file core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php
TranslationManagerTest::$translationManager property core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php The tested translation manager.
TranslationManagerTest::providerTestFormatPlural function core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php Provides some test data for formatPlural()
TranslationManagerTest::providerTestTranslatePlaceholder function core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php Provides test data for translate().
TranslationManagerTest::setUp function core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php
TranslationManagerTest::testFormatPlural function core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php Tests format plural.
TranslationManagerTest::testTranslatePlaceholder function core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php Tests translation using placeholders.
TranslationsStream class core/modules/locale/src/StreamWrapper/TranslationsStream.php Defines a Drupal translations (translations://) stream wrapper class.
TranslationsStream.php file core/modules/locale/src/StreamWrapper/TranslationsStream.php
TranslationsStream::basePath function core/modules/locale/src/StreamWrapper/TranslationsStream.php Returns the base path for translations://.
TranslationsStream::getDescription function core/modules/locale/src/StreamWrapper/TranslationsStream.php
TranslationsStream::getDirectoryPath function core/modules/locale/src/StreamWrapper/TranslationsStream.php
TranslationsStream::getExternalUrl function core/modules/locale/src/StreamWrapper/TranslationsStream.php phpcs:ignore Drupal.Files.LineLength
Implements Drupal\Core\StreamWrapper\StreamWrapperInterface::getExternalUrl().
TranslationsStream::getName function core/modules/locale/src/StreamWrapper/TranslationsStream.php
TranslationsStream::getType function core/modules/locale/src/StreamWrapper/TranslationsStream.php
TranslationStatusForm class core/modules/locale/src/Form/TranslationStatusForm.php Provides a translation status form.
TranslationStatusForm.php file core/modules/locale/src/Form/TranslationStatusForm.php
TranslationStatusForm::buildForm function core/modules/locale/src/Form/TranslationStatusForm.php Form builder for displaying the current translation status.
TranslationStatusForm::createInfoString function core/modules/locale/src/Form/TranslationStatusForm.php Provides debug info for projects in case translation files are not found.
TranslationStatusForm::getFormId function core/modules/locale/src/Form/TranslationStatusForm.php
TranslationStatusForm::prepareUpdateData function core/modules/locale/src/Form/TranslationStatusForm.php Prepare information about projects with available translation updates.
TranslationStatusForm::submitForm function core/modules/locale/src/Form/TranslationStatusForm.php
TranslationStatusForm::validateForm function core/modules/locale/src/Form/TranslationStatusForm.php
TranslationStatusForm::__construct function core/modules/locale/src/Form/TranslationStatusForm.php
TranslationStatusInterface interface core/lib/Drupal/Core/TypedData/TranslationStatusInterface.php Defines an interface for checking the status of an entity translation.
TranslationStatusInterface.php file core/lib/Drupal/Core/TypedData/TranslationStatusInterface.php
TranslationStatusInterface::getTranslationStatus function core/lib/Drupal/Core/TypedData/TranslationStatusInterface.php Returns the translation status.
TranslationStatusInterface::TRANSLATION_CREATED constant core/lib/Drupal/Core/TypedData/TranslationStatusInterface.php Status code identifying a newly created translation.
TranslationStatusInterface::TRANSLATION_EXISTING constant core/lib/Drupal/Core/TypedData/TranslationStatusInterface.php Status code identifying an existing translation.
TranslationStatusInterface::TRANSLATION_REMOVED constant core/lib/Drupal/Core/TypedData/TranslationStatusInterface.php Status code identifying a removed translation.
TranslationsTest class core/modules/media_library/tests/src/FunctionalJavascript/TranslationsTest.php Tests media library for translatable media.
TranslationsTest.php file core/modules/media_library/tests/src/FunctionalJavascript/TranslationsTest.php
TranslationsTest::$defaultTheme property core/modules/media_library/tests/src/FunctionalJavascript/TranslationsTest.php
TranslationsTest::$modules property core/modules/media_library/tests/src/FunctionalJavascript/TranslationsTest.php
TranslationsTest::setUp function core/modules/media_library/tests/src/FunctionalJavascript/TranslationsTest.php
TranslationsTest::testMediaLibraryTranslations function core/modules/media_library/tests/src/FunctionalJavascript/TranslationsTest.php Tests the media library widget shows all media only once.
TranslationString class core/modules/locale/src/TranslationString.php Defines the locale translation string object.
TranslationString.php file core/modules/locale/src/TranslationString.php
TranslationString::$customized property core/modules/locale/src/TranslationString.php Integer indicating whether this string is customized.
TranslationString::$isNew property core/modules/locale/src/TranslationString.php Boolean indicating whether the string object is new.
TranslationString::$language property core/modules/locale/src/TranslationString.php The language code.
TranslationString::$translation property core/modules/locale/src/TranslationString.php The string translation.
TranslationString::delete function core/modules/locale/src/TranslationString.php

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