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
EntityRepositoryInterface::getTranslationFromContext function core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php Gets the entity translation to be used in the given context.
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.
EntityTestHooks::entityTestMulChangedTranslationCreate function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_translation_create() for 'entity_test_mul_changed'.
EntityTestHooks::entityTestMulChangedTranslationDelete function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_translation_delete().
EntityTestHooks::entityTestMulChangedTranslationInsert function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_translation_insert() for 'entity_test_mul_changed'.
EntityTestHooks::entityTestMulLangcodeKeyTranslationCreate function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_translation_create() for 'entity_test_mul_langcode_key'.
EntityTestHooks::entityTestMulLangcodeKeyTranslationDelete function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_translation_delete() for 'entity_test_mul_langcode_key'.
EntityTestHooks::entityTestMulLangcodeKeyTranslationInsert function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_translation_insert() for 'entity_test_mul_langcode_key'.
EntityTestHooks::entityTestMulrevChangedTranslationCreate function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_translation_create() for 'entity_test_mulrev_changed'.
EntityTestHooks::entityTestMulrevChangedTranslationDelete function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_translation_delete().
EntityTestHooks::entityTestMulrevChangedTranslationInsert function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_translation_insert() for 'entity_test_mulrev'.
EntityTestHooks::entityTestMulrevTranslationCreate function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_translation_create().
EntityTestHooks::entityTestMulrevTranslationDelete function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_translation_delete() for 'entity_test_mulrev'.
EntityTestHooks::entityTestMulrevTranslationInsert function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_translation_insert().
EntityTestHooks::entityTestMulTranslationCreate function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_translation_create() for 'entity_test_mul'.
EntityTestHooks::entityTestMulTranslationDelete function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_translation_delete() for 'entity_test_mul'.
EntityTestHooks::entityTestMulTranslationInsert function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_translation_insert() for 'entity_test_mul'.
EntityTestHooks::entityTranslationCreate function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_entity_translation_create().
EntityTestHooks::entityTranslationDelete function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_entity_translation_delete().
EntityTestHooks::entityTranslationInsert function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_entity_translation_insert().
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.

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