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
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
ArrayBuildTest::testTransform function core/modules/migrate/tests/src/Unit/process/ArrayBuildTest.php Tests successful transformation.
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
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 custom blocks.
BlockContentTranslationHandler.php file core/modules/block_content/src/BlockContentTranslationHandler.php
BlockContentTranslationHandler::entityFormTitle function core/modules/block_content/src/BlockContentTranslationHandler.php
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
BlockContentTranslationUITest::$defaultTheme property core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php
BlockContentTranslationUITest::$modules property core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php Modules to enable.
BlockContentTranslationUITest::doTestBasicTranslation function core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php
BlockContentTranslationUITest::doTestTranslationEdit function core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php
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
BlockContentTranslationUITest::getTranslatorPermissions function core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php
BlockContentTranslationUITest::setUp function core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php
BlockContentTranslationUITest::setupBundle function core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php
BlockCustomTranslation class core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustomTranslation.php Drupal 7 i18n custom 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
BlockCustomTranslation::getIds function core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustomTranslation.php
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
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 custom 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
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
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.
BlockSettingsTest::testTransform function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockSettingsTest.php Tests the blocks settings process plugin.

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