You are here

protected function LingotekManagementTestTrait::getBulkSelectionKey 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::getBulkSelectionKey()
  2. 4.0.x tests/src/Functional/LingotekManagementTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekManagementTestTrait::getBulkSelectionKey()
  3. 3.0.x tests/src/Functional/LingotekManagementTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekManagementTestTrait::getBulkSelectionKey()
  4. 3.1.x tests/src/Functional/LingotekManagementTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekManagementTestTrait::getBulkSelectionKey()
  5. 3.2.x tests/src/Functional/LingotekManagementTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekManagementTestTrait::getBulkSelectionKey()
  6. 3.4.x tests/src/Functional/LingotekManagementTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekManagementTestTrait::getBulkSelectionKey()
  7. 3.5.x tests/src/Functional/LingotekManagementTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekManagementTestTrait::getBulkSelectionKey()
  8. 3.6.x tests/src/Functional/LingotekManagementTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekManagementTestTrait::getBulkSelectionKey()
  9. 3.7.x tests/src/Functional/LingotekManagementTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekManagementTestTrait::getBulkSelectionKey()
  10. 3.8.x tests/src/Functional/LingotekManagementTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekManagementTestTrait::getBulkSelectionKey()

Gets the bulk checkbox selection key in a table.

Parameters

string $langcode: The langcode.

int $revision_id: The revision ID.

string $entity_type_id: The entity type ID.

Return value

string The table checkbox key.

67 calls to LingotekManagementTestTrait::getBulkSelectionKey()
LingotekEntityTestBulkTranslationTest::testCheckSourceStatusNotCompleted in tests/src/Functional/LingotekEntityTestBulkTranslationTest.php
Tests that all the statuses are set when using the Check Translations action.
LingotekEntityTestBulkTranslationTest::testCheckTranslationsAction in tests/src/Functional/LingotekEntityTestBulkTranslationTest.php
Tests that all the statuses are set when using the Check Translations action.
LingotekEntityTestBulkTranslationTest::testCheckTranslationsWithDownloadedLocales in tests/src/Functional/LingotekEntityTestBulkTranslationTest.php
Tests that current locales are not cleared when checking statuses.
LingotekEntityTestBulkTranslationTest::testEntityTestTranslationUsingActions in tests/src/Functional/LingotekEntityTestBulkTranslationTest.php
Tests that a entity_test_mul can be translated using the actions on the management page.
LingotekEntityTestBulkTranslationTest::testTranslationDownloadWithUnrequestedLocales in tests/src/Functional/LingotekEntityTestBulkTranslationTest.php
Tests that unrequested locales are not marked as error when downloading all.

... See full list

3 methods override LingotekManagementTestTrait::getBulkSelectionKey()
LingotekContentTypeBulkTranslationTest::getBulkSelectionKey in tests/src/Functional/LingotekContentTypeBulkTranslationTest.php
Gets the bulk checkbox selection key in a table.
LingotekFieldBodyBulkTranslationTest::getBulkSelectionKey in tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php
Gets the bulk checkbox selection key in a table.
LingotekSystemSiteBulkTranslationTest::getBulkSelectionKey in tests/src/Functional/LingotekSystemSiteBulkTranslationTest.php
Gets the bulk checkbox selection key in a table.

File

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

Class

LingotekManagementTestTrait
Trait with Lingotek management form helpers.

Namespace

Drupal\Tests\lingotek\Functional

Code

protected function getBulkSelectionKey($langcode, $revision_id, $entity_type_id = 'node') {
  return 'table[' . $revision_id . ']';
}