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
Annotation for translatable text group core/lib/Drupal/Core/Annotation/Translation.php Describes how to put translatable UI text into annotations.
ArgumentTransformTermTest class core/modules/taxonomy/tests/src/Kernel/Views/ArgumentTransformTermTest.php Tests taxonomy term argument transformation.
ArgumentTransformTermTest.php file core/modules/taxonomy/tests/src/Kernel/Views/ArgumentTransformTermTest.php
ArgumentTransformTermTest::$testViews property core/modules/taxonomy/tests/src/Kernel/Views/ArgumentTransformTermTest.php Views to be enabled.
ArgumentTransformTermTest::termArgumentTransformationProvider function core/modules/taxonomy/tests/src/Kernel/Views/ArgumentTransformTermTest.php Provides data for testTermArgumentTransformation().
ArgumentTransformTermTest::testTermArgumentTransformation function core/modules/taxonomy/tests/src/Kernel/Views/ArgumentTransformTermTest.php Tests term argument transformation of hyphens and spaces.
bad_help_topics.translated.html.twig file core/modules/help_topics/tests/modules/help_topics_test/bad_help_topics/syntax/bad_help_topics.translated.html.twig ---
label: 'Help topic with untranslated text'
top_level: true
---
<p>Body goes here</p>
<p>{% trans %}some translated text too{% endtrans %}</p>
BaseFieldDefinition::isTranslatable function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns whether the field is translatable.
BaseFieldDefinition::setTranslatable function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets whether the field is translatable.
BaseFieldDefinitionTest::testFieldTranslatable function core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php Tests field translatable methods.
BlockPluginTrait::$transliteration property core/lib/Drupal/Core/Block/BlockPluginTrait.php The transliteration service.
BlockPluginTrait::setTransliteration function core/lib/Drupal/Core/Block/BlockPluginTrait.php Sets the transliteration service.
BlockPluginTrait::transliteration function core/lib/Drupal/Core/Block/BlockPluginTrait.php Wraps the transliteration service.
BookManager::bookLinkTranslate function core/modules/book/src/BookManager.php Provides book loading, access control and translation.
BookManagerInterface::bookLinkTranslate function core/modules/book/src/BookManagerInterface.php Provides book loading, access control and translation.
BookManagerTest::$translation property core/modules/book/tests/src/Unit/BookManagerTest.php The mocked translation manager.
BookMultilingualTest::assertBookItemIsCorrectlyTranslated function core/modules/book/tests/src/Kernel/BookMultilingualTest.php Asserts a book item is correctly translated.
BookMultilingualTest::assertNodeLinkIsCorrectlyTranslated function core/modules/book/tests/src/Kernel/BookMultilingualTest.php Asserts a node link is correctly translated.
BookMultilingualTest::assertToCEntryIsCorrectlyTranslated function core/modules/book/tests/src/Kernel/BookMultilingualTest.php Asserts one entry in the table of contents is correct.
BookUninstallValidator::setStringTranslation function core/modules/book/src/ProxyClass/BookUninstallValidator.php
BreakpointTest::$stringTranslation property core/modules/breakpoint/tests/src/Unit/BreakpointTest.php The mocked translator.
BrowserTestBase::$customTranslations property core/tests/Drupal/Tests/BrowserTestBase.php An array of custom translations suitable for drupal_rewrite_settings().
BrowserTestBase::$translationFilesDirectory property core/tests/Drupal/Tests/BrowserTestBase.php The translation file directory for the test environment.
BrowserTestBase::translatePostValues function core/tests/Drupal/Tests/BrowserTestBase.php Transforms a nested array into a flat array suitable for submitForm().
CacheTagsChecksumInterface::INVALID_CHECKSUM_WHILE_IN_TRANSACTION constant core/lib/Drupal/Core/Cache/CacheTagsChecksumInterface.php The invalid checksum returned if a database transaction is in progress.
CacheTagsChecksumTrait::rootTransactionEndCallback function core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php Callback to be invoked just after a database transaction gets committed.
CKEditorStylesComboTranslationTest class core/modules/ckeditor/tests/src/Functional/CKEditorStylesComboTranslationTest.php Tests administration of the CKEditor StylesCombo plugin.
CKEditorStylesComboTranslationTest.php file core/modules/ckeditor/tests/src/Functional/CKEditorStylesComboTranslationTest.php
CKEditorStylesComboTranslationTest::$adminUser property core/modules/ckeditor/tests/src/Functional/CKEditorStylesComboTranslationTest.php A user with the 'administer filters' permission.
CKEditorStylesComboTranslationTest::$defaultTheme property core/modules/ckeditor/tests/src/Functional/CKEditorStylesComboTranslationTest.php The theme to install as the default for testing.
CKEditorStylesComboTranslationTest::$format property core/modules/ckeditor/tests/src/Functional/CKEditorStylesComboTranslationTest.php A randomly generated format machine name.
CKEditorStylesComboTranslationTest::$modules property core/modules/ckeditor/tests/src/Functional/CKEditorStylesComboTranslationTest.php Modules to enable.
CKEditorStylesComboTranslationTest::setUp function core/modules/ckeditor/tests/src/Functional/CKEditorStylesComboTranslationTest.php
CKEditorStylesComboTranslationTest::testExistingFormat function core/modules/ckeditor/tests/src/Functional/CKEditorStylesComboTranslationTest.php Tests translations of CKEditor styles configuration.
CKEditorTest::testJSTranslation function core/modules/ckeditor/tests/src/Kernel/CKEditorTest.php Tests that CKEditor plugins participate in JS translation.
Condition::translateCondition function core/lib/Drupal/Core/Entity/Query/Sql/Condition.php Translates the string operators to SQL equivalents.
Condition::translateCondition function core/lib/Drupal/Core/Entity/Query/Sql/pgsql/Condition.php Translates the string operators to SQL equivalents.
config.import_transformer service core/core.services.yml Drupal\Core\Config\ImportStorageTransformer
ConfigEvents::STORAGE_TRANSFORM_EXPORT constant core/lib/Drupal/Core/Config/ConfigEvents.php Name of the event fired when the export storage is used.
ConfigEvents::STORAGE_TRANSFORM_IMPORT constant core/lib/Drupal/Core/Config/ConfigEvents.php Name of the event fired just before importing configuration.
config_translation.admin.css file core/themes/stable/css/config_translation/config_translation.admin.css Styles for Configuration Translation.
config_translation.module file core/modules/config_translation/config_translation.module Configuration Translation module.
config_translation.overview.html.twig file core/modules/help_topics/help_topics/config_translation.overview.html.twig ---
label: 'Translating configuration'
related:
- core.config_overview
- core.translations
- language.add
---
{% set config_translation_link_text %}{% trans %}Configuration translation{% endtrans %}{% endset %}
{% set…
config_translation_config_schema_info_alter function core/modules/config_translation/config_translation.module Implements hook_config_schema_info_alter().
config_translation_config_translation_info function core/modules/config_translation/config_translation.module Implements hook_config_translation_info().
config_translation_entity_operation function core/modules/config_translation/config_translation.module Implements hook_entity_operation().
config_translation_entity_type_alter function core/modules/config_translation/config_translation.module Implements hook_entity_type_alter().
config_translation_help function core/modules/config_translation/config_translation.module Implements hook_help().
config_translation_manage_form_element.html.twig file core/themes/stable/templates/admin/config_translation_manage_form_element.html.twig Theme override for a form element in config_translation.
config_translation_test.module file core/modules/config_translation/tests/modules/config_translation_test/config_translation_test.module Configuration Translation Test module.

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