You are here

protected function LingotekManagementTestTrait::getBulkOperationNameForDeleteTranslation in Lingotek Translation 3.3.x

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/LingotekManagementTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekManagementTestTrait::getBulkOperationNameForDeleteTranslation()
  2. 4.0.x tests/src/Functional/LingotekManagementTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekManagementTestTrait::getBulkOperationNameForDeleteTranslation()
  3. 3.0.x tests/src/Functional/LingotekManagementTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekManagementTestTrait::getBulkOperationNameForDeleteTranslation()
  4. 3.1.x tests/src/Functional/LingotekManagementTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekManagementTestTrait::getBulkOperationNameForDeleteTranslation()
  5. 3.2.x tests/src/Functional/LingotekManagementTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekManagementTestTrait::getBulkOperationNameForDeleteTranslation()
  6. 3.4.x tests/src/Functional/LingotekManagementTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekManagementTestTrait::getBulkOperationNameForDeleteTranslation()
  7. 3.5.x tests/src/Functional/LingotekManagementTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekManagementTestTrait::getBulkOperationNameForDeleteTranslation()
  8. 3.6.x tests/src/Functional/LingotekManagementTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekManagementTestTrait::getBulkOperationNameForDeleteTranslation()
  9. 3.7.x tests/src/Functional/LingotekManagementTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekManagementTestTrait::getBulkOperationNameForDeleteTranslation()
  10. 3.8.x tests/src/Functional/LingotekManagementTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekManagementTestTrait::getBulkOperationNameForDeleteTranslation()
3 calls to LingotekManagementTestTrait::getBulkOperationNameForDeleteTranslation()
LingotekNodeBulkTranslationTest::assertSelectionIsKept in tests/src/Functional/LingotekNodeBulkTranslationTest.php
Assert the selected action and key are kept.
LingotekNodeBulkTranslationTest::testDeleteMissingTranslation in tests/src/Functional/LingotekNodeBulkTranslationTest.php
Tests that translations can be deleted using the actions on the management page.
LingotekNodeBulkTranslationTest::testDeleteTranslation in tests/src/Functional/LingotekNodeBulkTranslationTest.php
Tests that translations can be deleted using the actions on the management page.

File

tests/src/Functional/LingotekManagementTestTrait.php, line 334

Class

LingotekManagementTestTrait
Trait with Lingotek management form helpers.

Namespace

Drupal\Tests\lingotek\Functional

Code

protected function getBulkOperationNameForDeleteTranslation($langcode, $entity_type_id) {
  return 'delete_translation:' . $langcode;
}