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
TranslationsStream::getExternalUrl function core/modules/locale/src/StreamWrapper/TranslationsStream.php Implements Drupal\Core\StreamWrapper\StreamWrapperInterface::getExternalUrl().
TranslationsStream::getName function core/modules/locale/src/StreamWrapper/TranslationsStream.php Returns the name of the stream wrapper for use in the UI.
TranslationsStream::getType function core/modules/locale/src/StreamWrapper/TranslationsStream.php Returns the type of stream wrapper.
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::$moduleHandler property core/modules/locale/src/Form/TranslationStatusForm.php The module handler service.
TranslationStatusForm::$state property core/modules/locale/src/Form/TranslationStatusForm.php The Drupal state storage service.
TranslationStatusForm::buildForm function core/modules/locale/src/Form/TranslationStatusForm.php Form builder for displaying the current translation status.
TranslationStatusForm::create function core/modules/locale/src/Form/TranslationStatusForm.php Instantiates a new instance of this class.
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 Returns a unique string identifying the form.
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 Form submission handler.
TranslationStatusForm::validateForm function core/modules/locale/src/Form/TranslationStatusForm.php Form validation handler.
TranslationStatusForm::__construct function core/modules/locale/src/Form/TranslationStatusForm.php Constructs a TranslationStatusForm object.
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 The theme to install as the default for testing.
TranslationsTest::$modules property core/modules/media_library/tests/src/FunctionalJavascript/TranslationsTest.php Modules to enable.
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 Deletes string object from storage.
TranslationString::getString function core/modules/locale/src/TranslationString.php Gets plain string contained in this object.
TranslationString::isNew function core/modules/locale/src/TranslationString.php Checks whether the object is not saved to storage yet.
TranslationString::isSource function core/modules/locale/src/TranslationString.php Checks whether the object is a source string.
TranslationString::isTranslation function core/modules/locale/src/TranslationString.php Checks whether the object is a translation string.
TranslationString::save function core/modules/locale/src/TranslationString.php Saves string object to storage.
TranslationString::setCustomized function core/modules/locale/src/TranslationString.php Sets the string as customized / not customized.
TranslationString::setString function core/modules/locale/src/TranslationString.php Sets the string contained in this object.
TranslationString::__construct function core/modules/locale/src/TranslationString.php Constructs a new locale string object.
TranslationStringTest class core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php Tests the TranslatableMarkup class.
TranslationStringTest.php file core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php
TranslationStringTest::$modules property core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php Modules to enable.
TranslationStringTest::rebootAndPrepareSettings function core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php Reboots the kernel to set custom translations in Settings.
TranslationStringTest::setUp function core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php
TranslationStringTest::testComparison function core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php Tests that TranslatableMarkup objects can be compared.
TranslationTest class core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php @coversDefaultClass \Drupal\Core\Annotation\Translation
@group Annotation
TranslationTest class core/modules/field/tests/src/Kernel/TranslationTest.php Tests multilanguage fields logic.

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