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 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.
ArrayBuild::transform function core/modules/migrate/src/Plugin/migrate/process/ArrayBuild.php Performs the associated process.
ArrayBuildTest::testTransform function core/modules/migrate/tests/src/Unit/process/ArrayBuildTest.php Tests successful transformation.
ArrayElement::hasTranslatableElements function core/lib/Drupal/Core/Config/Schema/ArrayElement.php Determines if there is a translatable value.
bad_help_topics.translated.html.twig file core/modules/help/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.
BlockContentTranslationHandler class core/modules/block_content/src/BlockContentTranslationHandler.php Defines the translation handler for content blocks.
BlockContentTranslationHandler.php file core/modules/block_content/src/BlockContentTranslationHandler.php
BlockContentTranslationHandler::entityFormTitle function core/modules/block_content/src/BlockContentTranslationHandler.php Returns the title to be used for the entity form page.
BlockContentTranslationUITest class core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php Tests the block content translation UI.
BlockContentTranslationUITest.php file core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php
BlockContentTranslationUITest::$defaultCacheContexts property core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php Default cache contexts expected on a non-translated entity.
BlockContentTranslationUITest::$defaultTheme property core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php The theme to install as the default for testing.
BlockContentTranslationUITest::$modules property core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php Modules to install.
BlockContentTranslationUITest::doTestBasicTranslation function core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php Tests the basic translation workflow.
BlockContentTranslationUITest::doTestTranslationEdit function core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php Tests edit content translation.
BlockContentTranslationUITest::getEditValues function core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php Returns an edit array containing the values to be posted.
BlockContentTranslationUITest::getNewEntityValues function core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php Returns an array of entity field values to be tested.
BlockContentTranslationUITest::getTranslatorPermissions function core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php Returns an array of permissions needed for the translator.
BlockContentTranslationUITest::setUp function core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php
BlockContentTranslationUITest::setupBundle function core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php Creates or initializes the bundle date if needed.
BlockCustomTranslation class core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustomTranslation.php Drupal 7 i18n content block translations source from database.
BlockCustomTranslation.php file core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustomTranslation.php
BlockCustomTranslation::CUSTOM_BLOCK_TABLE constant core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustomTranslation.php Drupal 7 table names.
BlockCustomTranslation::fields function core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustomTranslation.php Returns available fields on the source.
BlockCustomTranslation::getIds function core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustomTranslation.php Defines the source fields uniquely identifying a source row.
BlockCustomTranslation::I18N_STRING_TABLE constant core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustomTranslation.php
BlockCustomTranslation::prepareRow function core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustomTranslation.php Adds additional data to the row.
BlockCustomTranslation::query function core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustomTranslation.php
BlockCustomTranslationTest class core/modules/block_content/tests/src/Kernel/Plugin/migrate/source/d7/BlockCustomTranslationTest.php Tests i18n content block translations source plugin.
BlockCustomTranslationTest.php file core/modules/block_content/tests/src/Kernel/Plugin/migrate/source/d7/BlockCustomTranslationTest.php
BlockCustomTranslationTest::$modules property core/modules/block_content/tests/src/Kernel/Plugin/migrate/source/d7/BlockCustomTranslationTest.php Modules to install.
BlockCustomTranslationTest::providerSource function core/modules/block_content/tests/src/Kernel/Plugin/migrate/source/d7/BlockCustomTranslationTest.php
BlockPluginId::transform function core/modules/block/src/Plugin/migrate/process/BlockPluginId.php Set the block plugin id.
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.
BlockRegion::transform function core/modules/block/src/Plugin/migrate/process/BlockRegion.php Performs the associated process.
BlockRegionTest::testTransformSameThemeRegionExists function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php Tests transforming a block with the same theme and an existing region.
BlockRegionTest::testTransformSameThemeRegionNotExists function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php Tests transforming a block with the same theme and a non-existent region.
BlockRegionTest::transform function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php Transforms a value through the block_region plugin.
BlockSettings::transform function core/modules/block/src/Plugin/migrate/process/BlockSettings.php Set the block configuration.
BlockSettingsTest::providerTestTransform function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockSettingsTest.php Provides data for testTransform.

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