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
EntityRepositoryTest::testGetTranslationFromContext function core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php Tests the getTranslationFromContext() method.
EntityRevisionsTest::testIsLatestAffectedRevisionTranslation function core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionsTest.php Tests that latest affected revisions are working as expected.
EntityRevisionsTest::testTranslatedLoadedRevisionId function core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionsTest.php Tests the loaded revision ID for translatable entities.
EntityRevisionTest::testRevisionTranslation function core/modules/migrate/tests/src/Kernel/Plugin/EntityRevisionTest.php Tests that EntityRevision correctly handles revision translations.
EntityRevisionTest::testUntranslatable function core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityRevisionTest.php Tests that translation destination fails for untranslatable entities.
EntityRevisionTranslationTest class core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionTranslationTest.php Tests proper revision propagation of entities.
EntityRevisionTranslationTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionTranslationTest.php
EntityRevisionTranslationTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionTranslationTest.php Modules to install.
EntityRevisionTranslationTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionTranslationTest.php
EntityRevisionTranslationTest::testDefaultRevision function core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionTranslationTest.php Tests changing the default revision flag is propagated to all translations.
EntityRevisionTranslationTest::testIsAnyStoredRevisionTranslated function core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionTranslationTest.php Tests that revision translations are correctly detected.
EntityRevisionTranslationTest::testNewRevisionAfterTranslation function core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionTranslationTest.php Tests if the translation object has the right revision id after new revision.
EntityRevisionTranslationTest::testRevertRevisionAfterTranslation function core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionTranslationTest.php Tests if the translation object has the right revision id after new revision.
EntityRevisionTranslationTest::testSetNewRevision function core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionTranslationTest.php @covers \Drupal\Core\Entity\ContentEntityBase::setNewRevision
EntityRevisionTranslationTest::testTranslationValuesWhenSavingPendingRevisions function core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionTranslationTest.php Tests the translation values when saving a pending revision.
EntitySchemaTest::testModifyingTranslatableColumnSchema function core/tests/Drupal/KernelTests/Core/Entity/EntitySchemaTest.php Tests that modifying the UUID field for a translatable entity works.
EntityStateChangeValidationTest::testInvalidTransition function core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php Tests invalid transitions.
EntityStateChangeValidationTest::testTransitionAccessValidation function core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php @dataProvider transitionAccessValidationTestCases
EntityStateChangeValidationTest::testValidTransition function core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php Tests valid transitions.
EntityStateChangeValidationTest::transitionAccessValidationTestCases function core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php Test cases for ::testTransitionAccessValidation.
EntityTestTranslatableNoUISkip class core/modules/content_translation/tests/modules/content_translation_test/src/Entity/EntityTestTranslatableNoUISkip.php Defines the test entity class.
EntityTestTranslatableNoUISkip.php file core/modules/content_translation/tests/modules/content_translation_test/src/Entity/EntityTestTranslatableNoUISkip.php
EntityTestTranslatableUISkip class core/modules/content_translation/tests/modules/content_translation_test/src/Entity/EntityTestTranslatableUISkip.php Defines the test entity class.
EntityTestTranslatableUISkip.php file core/modules/content_translation/tests/modules/content_translation_test/src/Entity/EntityTestTranslatableUISkip.php
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::getEntityTranslation function core/modules/views/src/Entity/Render/EntityTranslationRenderTrait.php Returns the entity translation matching the configured row language.
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.

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