You are here

protected function LingotekManagementTestTrait::getBulkOperationNameForCancelTarget in Lingotek Translation 3.6.x

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/LingotekManagementTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekManagementTestTrait::getBulkOperationNameForCancelTarget()
  2. 4.0.x tests/src/Functional/LingotekManagementTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekManagementTestTrait::getBulkOperationNameForCancelTarget()
  3. 3.0.x tests/src/Functional/LingotekManagementTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekManagementTestTrait::getBulkOperationNameForCancelTarget()
  4. 3.1.x tests/src/Functional/LingotekManagementTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekManagementTestTrait::getBulkOperationNameForCancelTarget()
  5. 3.2.x tests/src/Functional/LingotekManagementTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekManagementTestTrait::getBulkOperationNameForCancelTarget()
  6. 3.3.x tests/src/Functional/LingotekManagementTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekManagementTestTrait::getBulkOperationNameForCancelTarget()
  7. 3.4.x tests/src/Functional/LingotekManagementTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekManagementTestTrait::getBulkOperationNameForCancelTarget()
  8. 3.5.x tests/src/Functional/LingotekManagementTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekManagementTestTrait::getBulkOperationNameForCancelTarget()
  9. 3.7.x tests/src/Functional/LingotekManagementTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekManagementTestTrait::getBulkOperationNameForCancelTarget()
  10. 3.8.x tests/src/Functional/LingotekManagementTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekManagementTestTrait::getBulkOperationNameForCancelTarget()
5 calls to LingotekManagementTestTrait::getBulkOperationNameForCancelTarget()
LingotekContentTypeBulkCancelTest::testContentTypeCancelTarget in tests/src/Functional/LingotekContentTypeBulkCancelTest.php
Tests that a config entity target can be cancelled using the bulk operations on the management page.
LingotekFieldBodyBulkCancelTest::testFieldCancelTarget in tests/src/Functional/LingotekFieldBodyBulkCancelTest.php
Tests that a field config target can be cancelled using the bulk operations on the management page.
LingotekNodeBulkCancelTest::testNodeCancelTarget in tests/src/Functional/LingotekNodeBulkCancelTest.php
Tests that a node target can be cancelled using the actions on the management page.
LingotekNodeBulkTranslationTest::testCancelTargetStatusAlwaysKept in tests/src/Functional/LingotekNodeBulkTranslationTest.php
Tests that we manage errors when using the cancel action.
LingotekNodeBulkTranslationTest::testCancelTargetWithActionWithAnError in tests/src/Functional/LingotekNodeBulkTranslationTest.php
Tests that we manage errors when using the cancel action.

File

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

Class

LingotekManagementTestTrait
Trait with Lingotek management form helpers.

Namespace

Drupal\Tests\lingotek\Functional

Code

protected function getBulkOperationNameForCancelTarget($langcode, $entity_type_id) {
  return 'cancel:' . $langcode;
}