You are here

protected function LingotekFieldBodyBulkTranslationTest::getDestination in Lingotek Translation 3.5.x

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekFieldBodyBulkTranslationTest::getDestination()
  2. 4.0.x tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekFieldBodyBulkTranslationTest::getDestination()
  3. 3.0.x tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekFieldBodyBulkTranslationTest::getDestination()
  4. 3.1.x tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekFieldBodyBulkTranslationTest::getDestination()
  5. 3.2.x tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekFieldBodyBulkTranslationTest::getDestination()
  6. 3.3.x tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekFieldBodyBulkTranslationTest::getDestination()
  7. 3.4.x tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekFieldBodyBulkTranslationTest::getDestination()
  8. 3.6.x tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekFieldBodyBulkTranslationTest::getDestination()
  9. 3.7.x tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekFieldBodyBulkTranslationTest::getDestination()
  10. 3.8.x tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekFieldBodyBulkTranslationTest::getDestination()

Overrides LingotekTestBase::getDestination

3 calls to LingotekFieldBodyBulkTranslationTest::getDestination()
LingotekFieldBodyBulkTranslationTest::assertLingotekCheckSourceStatusLink in tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php
Asserts there is a link for checking the content source status.
LingotekFieldBodyBulkTranslationTest::assertLingotekRequestTranslationLink in tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php
Asserts there is a link for requesting translation for a given locale.
LingotekFieldBodyBulkTranslationTest::assertLingotekUploadLink in tests/src/Functional/LingotekFieldBodyBulkTranslationTest.php
Asserts there is a link for uploading the content.

File

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

Class

LingotekFieldBodyBulkTranslationTest
Tests translating a field using the bulk management form.

Namespace

Drupal\Tests\lingotek\Functional

Code

protected function getDestination($entity_type_id = 'node.article.body', $prefix = NULL) {
  $basepath = \Drupal::request()
    ->getBasePath();
  return '?destination=' . $basepath . $this
    ->getConfigBulkManagementFormUrl($entity_type_id, $prefix);
}