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
EntityTranslationFormTest class core/modules/system/tests/src/Functional/Entity/EntityTranslationFormTest.php Tests entity translation form.
EntityTranslationFormTest.php file core/modules/system/tests/src/Functional/Entity/EntityTranslationFormTest.php
EntityTranslationFormTest::$defaultTheme property core/modules/system/tests/src/Functional/Entity/EntityTranslationFormTest.php The theme to install as the default for testing.
EntityTranslationFormTest::$langcodes property core/modules/system/tests/src/Functional/Entity/EntityTranslationFormTest.php The test language codes.
EntityTranslationFormTest::$modules property core/modules/system/tests/src/Functional/Entity/EntityTranslationFormTest.php Modules to install.
EntityTranslationFormTest::setUp function core/modules/system/tests/src/Functional/Entity/EntityTranslationFormTest.php
EntityTranslationFormTest::testEntityFormLanguage function core/modules/system/tests/src/Functional/Entity/EntityTranslationFormTest.php Tests entity form language.
EntityTranslationRendererBase class core/modules/views/src/Entity/Render/EntityTranslationRendererBase.php Defines a base class for entity translation renderers.
EntityTranslationRendererBase.php file core/modules/views/src/Entity/Render/EntityTranslationRendererBase.php
EntityTranslationRendererBase::getEntity function core/modules/views/src/Entity/Render/EntityTranslationRendererBase.php Gets the entity associated with a row.
EntityTranslationRendererBase::getLangcode function core/modules/views/src/Entity/Render/EntityTranslationRendererBase.php Returns the language code associated with the given row.
EntityTranslationRendererBase::getLangcodeByRelationship function core/modules/views/src/Entity/Render/EntityTranslationRendererBase.php Returns the language code associated with the given row.
EntityTranslationRendererBase::preRender function core/modules/views/src/Entity/Render/EntityTranslationRendererBase.php Runs before each entity is rendered.
EntityTranslationRendererBase::preRenderByRelationship function core/modules/views/src/Entity/Render/EntityTranslationRendererBase.php Runs before each entity is rendered if a relationship is needed.
EntityTranslationRendererBase::query function core/modules/views/src/Entity/Render/EntityTranslationRendererBase.php Alters the query if needed.
EntityTranslationRendererBase::render function core/modules/views/src/Entity/Render/EntityTranslationRendererBase.php Renders entity data.
EntityTranslationRendererBase::renderByRelationship function core/modules/views/src/Entity/Render/EntityTranslationRendererBase.php Renders entity data.
EntityTranslationRenderTrait trait core/modules/views/src/Entity/Render/EntityTranslationRenderTrait.php Trait used to instantiate the view's entity translation renderer.
EntityTranslationRenderTrait.php file core/modules/views/src/Entity/Render/EntityTranslationRenderTrait.php
EntityTranslationRenderTrait::$entityTranslationRenderer property core/modules/views/src/Entity/Render/EntityTranslationRenderTrait.php The renderer to be used to render the entity row.
EntityTranslationRenderTrait::getEntityTranslationByRelationship function core/modules/views/src/Entity/Render/EntityTranslationRenderTrait.php Returns the entity translation matching the configured row language.
EntityTranslationRenderTrait::getEntityTranslationRenderer function core/modules/views/src/Entity/Render/EntityTranslationRenderTrait.php Returns the current renderer.
EntityTranslationRenderTrait::getEntityTypeId function core/modules/views/src/Entity/Render/EntityTranslationRenderTrait.php Returns the entity type identifier.
EntityTranslationRenderTrait::getLanguageManager function core/modules/views/src/Entity/Render/EntityTranslationRenderTrait.php Returns the language manager.
EntityTranslationRenderTrait::getView function core/modules/views/src/Entity/Render/EntityTranslationRenderTrait.php Returns the top object of a view.
EntityTranslationSettings class core/modules/content_translation/src/Plugin/migrate/source/d7/EntityTranslationSettings.php Drupal 7 Entity Translation settings (variables) from database.
EntityTranslationSettings.php file core/modules/content_translation/src/Plugin/migrate/source/d7/EntityTranslationSettings.php
EntityTranslationSettings::doCount function core/modules/content_translation/src/Plugin/migrate/source/d7/EntityTranslationSettings.php Gets the source count using countQuery().
EntityTranslationSettings::fields function core/modules/content_translation/src/Plugin/migrate/source/d7/EntityTranslationSettings.php Returns available fields on the source.
EntityTranslationSettings::getIds function core/modules/content_translation/src/Plugin/migrate/source/d7/EntityTranslationSettings.php Defines the source fields uniquely identifying a source row.
EntityTranslationSettings::initializeIterator function core/modules/content_translation/src/Plugin/migrate/source/d7/EntityTranslationSettings.php Initializes the iterator with the source data.
EntityTranslationSettings::query function core/modules/content_translation/src/Plugin/migrate/source/d7/EntityTranslationSettings.php
EntityTranslationSettingsTest class core/modules/content_translation/tests/src/Kernel/Plugin/migrate/source/d7/EntityTranslationSettingsTest.php Tests entity translation settings source plugin.
EntityTranslationSettingsTest.php file core/modules/content_translation/tests/src/Kernel/Plugin/migrate/source/d7/EntityTranslationSettingsTest.php
EntityTranslationSettingsTest::$modules property core/modules/content_translation/tests/src/Kernel/Plugin/migrate/source/d7/EntityTranslationSettingsTest.php Modules to install.
EntityTranslationSettingsTest::providerSource function core/modules/content_translation/tests/src/Kernel/Plugin/migrate/source/d7/EntityTranslationSettingsTest.php
EntityTranslationTest class core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php Tests entity translation functionality.
EntityTranslationTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php
EntityTranslationTest::doTestEntityLanguageMethods function core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php Executes the entity language method tests for the given entity type.
EntityTranslationTest::doTestEntityTranslationAPI function core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php Executes the Entity Translation API tests for the given entity type.
EntityTranslationTest::doTestLanguageChange function core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php Executes the entity language change test for the given entity type.
EntityTranslationTest::doTestLanguageFallback function core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php Executes the language fallback test for the given entity type.
EntityTranslationTest::doTestMultilingualProperties function core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php Executes the multilingual property tests for the given entity type.
EntityTranslationTest::testDeleteEntityTranslation function core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php Tests that translation statuses are correct after removing translations.
EntityTranslationTest::testEntityAdapter function core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php Tests how entity adapters work with translations.
EntityTranslationTest::testEntityLanguageMethods function core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php Tests language related methods of the Entity class.
EntityTranslationTest::testEntityTranslationAPI function core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php Tests the Entity Translation API behavior.
EntityTranslationTest::testFieldDefinitions function core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php Check that field translatability is handled properly.
EntityTranslationTest::testFieldEntityReference function core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php Tests if entity references are correct after adding a new translation.
EntityTranslationTest::testLanguageChange function core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php Tests that changing entity language does not break field language.

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