You are here

protected function LingotekContentTypeBulkTranslationTest::getBulkSelectionKey in Lingotek Translation 3.2.x

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::getBulkSelectionKey()
  2. 4.0.x tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::getBulkSelectionKey()
  3. 3.0.x tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::getBulkSelectionKey()
  4. 3.1.x tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::getBulkSelectionKey()
  5. 3.3.x tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::getBulkSelectionKey()
  6. 3.4.x tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::getBulkSelectionKey()
  7. 3.5.x tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::getBulkSelectionKey()
  8. 3.6.x tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::getBulkSelectionKey()
  9. 3.7.x tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::getBulkSelectionKey()
  10. 3.8.x tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::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.

Overrides LingotekManagementTestTrait::getBulkSelectionKey

12 calls to LingotekContentTypeBulkTranslationTest::getBulkSelectionKey()
LingotekContentTypeBulkTranslationTest::testRequestAllTranslationsWithActionWithADocumentArchivedError in tests/src/Functional/LingotekContentTypeBulkTranslationTest.php
Tests that we manage errors when using the request all translations action.
LingotekContentTypeBulkTranslationTest::testRequestAllTranslationsWithActionWithADocumentLockedError in tests/src/Functional/LingotekContentTypeBulkTranslationTest.php
Tests that we manage errors when using the request all translations action.
LingotekContentTypeBulkTranslationTest::testRequestAllTranslationsWithActionWithAnError in tests/src/Functional/LingotekContentTypeBulkTranslationTest.php
Tests that we manage errors when using the request all translations action.
LingotekContentTypeBulkTranslationTest::testRequestAllTranslationsWithActionWithAPaymentRequiredError in tests/src/Functional/LingotekContentTypeBulkTranslationTest.php
Tests that we manage errors when using the request all translations action.
LingotekContentTypeBulkTranslationTest::testRequestTranslationWithActionWithADocumentArchivedError in tests/src/Functional/LingotekContentTypeBulkTranslationTest.php
Tests that we manage errors when using the request translation action.

... See full list

File

tests/src/Functional/LingotekContentTypeBulkTranslationTest.php, line 1686

Class

LingotekContentTypeBulkTranslationTest
Tests translating a config entity using the bulk management form.

Namespace

Drupal\Tests\lingotek\Functional

Code

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