You are here

protected function LingotekFieldBodyBulkTranslationTest::getBulkSelectionKey in Lingotek Translation 8.2

Same name and namespace in other branches
  1. 4.0.x tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekFieldBodyBulkTranslationTest::getBulkSelectionKey()
  2. 3.0.x tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekFieldBodyBulkTranslationTest::getBulkSelectionKey()
  3. 3.1.x tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekFieldBodyBulkTranslationTest::getBulkSelectionKey()
  4. 3.2.x tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekFieldBodyBulkTranslationTest::getBulkSelectionKey()
  5. 3.3.x tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekFieldBodyBulkTranslationTest::getBulkSelectionKey()
  6. 3.4.x tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekFieldBodyBulkTranslationTest::getBulkSelectionKey()
  7. 3.5.x tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekFieldBodyBulkTranslationTest::getBulkSelectionKey()
  8. 3.6.x tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekFieldBodyBulkTranslationTest::getBulkSelectionKey()
  9. 3.7.x tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekFieldBodyBulkTranslationTest::getBulkSelectionKey()
  10. 3.8.x tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekFieldBodyBulkTranslationTest::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 LingotekFieldBodyBulkTranslationTest::getBulkSelectionKey()
LingotekFieldBodyBulkTranslationTest::testRequestAllTranslationsWithActionWithADocumentArchivedError in tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php
Tests that we manage errors when using the request all translations action.
LingotekFieldBodyBulkTranslationTest::testRequestAllTranslationsWithActionWithADocumentLockedError in tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php
Tests that we manage errors when using the request all translations action.
LingotekFieldBodyBulkTranslationTest::testRequestAllTranslationsWithActionWithAnError in tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php
Tests that we manage errors when using the request all translations action.
LingotekFieldBodyBulkTranslationTest::testRequestAllTranslationsWithActionWithAPaymentRequiredError in tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php
Tests that we manage errors when using the request all translations action.
LingotekFieldBodyBulkTranslationTest::testRequestTranslationWithActionWithADocumentArchivedError in tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php
Tests that we manage errors when using the request translation action.

... See full list

File

tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php, line 1604

Class

LingotekFieldBodyBulkTranslationTest
Tests translating a field using the bulk management form.

Namespace

Drupal\Tests\lingotek\Functional

Code

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