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
TranslatableStringFactory::createTranslatableMessage function core/modules/package_manager/src/TranslatableStringFactory.php
TranslatableStringFactory::createTranslationParameters function core/modules/package_manager/src/TranslatableStringFactory.php
TranslatableStringFactory::__construct function core/modules/package_manager/src/TranslatableStringFactory.php
TranslatableStringTest class core/modules/package_manager/tests/src/Kernel/TranslatableStringTest.php Tests Translatable String.
TranslatableStringTest.php file core/modules/package_manager/tests/src/Kernel/TranslatableStringTest.php
TranslatableStringTest::testCreateTranslatableString function core/modules/package_manager/tests/src/Kernel/TranslatableStringTest.php Tests various ways of creating a translatable string.
TranslatedViewTest class core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php Tests that translated strings in views UI don't override original strings.
TranslatedViewTest.php file core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php
TranslatedViewTest::$adminUser property core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php Administrator user for tests.
TranslatedViewTest::$defaultTheme property core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php The theme to install as the default for testing.
TranslatedViewTest::$langcodes property core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php Languages to enable.
TranslatedViewTest::$modules property core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php Modules to install.
TranslatedViewTest::setUp function core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php Sets up the test.
TranslatedViewTest::testTranslatedStrings function core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php Tests view translation.
TranslateEditForm class core/modules/locale/src/Form/TranslateEditForm.php Defines a translation edit form.
TranslateEditForm.php file core/modules/locale/src/Form/TranslateEditForm.php
TranslateEditForm::buildForm function core/modules/locale/src/Form/TranslateEditForm.php Form constructor.
TranslateEditForm::getFormId function core/modules/locale/src/Form/TranslateEditForm.php Returns a unique string identifying the form.
TranslateEditForm::submitForm function core/modules/locale/src/Form/TranslateEditForm.php Form submission handler.
TranslateEditForm::validateForm function core/modules/locale/src/Form/TranslateEditForm.php Form validation handler.
TranslateFilterForm class core/modules/locale/src/Form/TranslateFilterForm.php Provides a filtered translation edit form.
TranslateFilterForm.php file core/modules/locale/src/Form/TranslateFilterForm.php
TranslateFilterForm::buildForm function core/modules/locale/src/Form/TranslateFilterForm.php Form constructor.
TranslateFilterForm::getFormId function core/modules/locale/src/Form/TranslateFilterForm.php Returns a unique string identifying the form.
TranslateFilterForm::resetForm function core/modules/locale/src/Form/TranslateFilterForm.php Provides a submit handler for the reset button.
TranslateFilterForm::submitForm function core/modules/locale/src/Form/TranslateFilterForm.php Form submission handler.
TranslateFormBase class core/modules/locale/src/Form/TranslateFormBase.php Defines the locale user interface translation form base.
TranslateFormBase.php file core/modules/locale/src/Form/TranslateFormBase.php
TranslateFormBase::$filterValues property core/modules/locale/src/Form/TranslateFormBase.php Filter values. Shared between objects that inherit this class.
TranslateFormBase::$languageManager property core/modules/locale/src/Form/TranslateFormBase.php The language manager.
TranslateFormBase::$localeStorage property core/modules/locale/src/Form/TranslateFormBase.php The locale storage.
TranslateFormBase::$state property core/modules/locale/src/Form/TranslateFormBase.php The state store.
TranslateFormBase::create function core/modules/locale/src/Form/TranslateFormBase.php Instantiates a new instance of this class.
TranslateFormBase::translateFilterLoadStrings function core/modules/locale/src/Form/TranslateFormBase.php Builds a string search query and returns an array of string objects.
TranslateFormBase::translateFilters function core/modules/locale/src/Form/TranslateFormBase.php Lists locale translation filters that can be applied.
TranslateFormBase::translateFilterValues function core/modules/locale/src/Form/TranslateFormBase.php Builds an array out of search criteria specified in request variables.
TranslateFormBase::__construct function core/modules/locale/src/Form/TranslateFormBase.php Constructs a new TranslationFormBase object.
Translation class core/lib/Drupal/Core/Annotation/Translation.php Defines a translatable annotation object.
Translation.php file core/lib/Drupal/Core/Annotation/Translation.php
Translation::$translation property core/lib/Drupal/Core/Annotation/Translation.php The string translation object.
Translation::get function core/lib/Drupal/Core/Annotation/Translation.php Gets the value of an annotation.
Translation::__construct function core/lib/Drupal/Core/Annotation/Translation.php Constructs a new class instance.
TranslationInterface interface core/lib/Drupal/Core/StringTranslation/TranslationInterface.php Interface for the translation.manager translation service.
TranslationInterface.php file core/lib/Drupal/Core/StringTranslation/TranslationInterface.php
TranslationInterface::formatPlural function core/lib/Drupal/Core/StringTranslation/TranslationInterface.php Formats a string containing a count of items.
TranslationInterface::translate function core/lib/Drupal/Core/StringTranslation/TranslationInterface.php Translates a string to the current language or to a given language.
TranslationInterface::translateString function core/lib/Drupal/Core/StringTranslation/TranslationInterface.php Translates a TranslatableMarkup object to a string.
TranslationLanguageRenderer class core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php Renders entity translations in their row language.
TranslationLanguageRenderer.php file core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php
TranslationLanguageRenderer::$langcodeAlias property core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php Stores the field alias of the langcode column.

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