You are here

protected function LingotekContentTypeBulkTranslationTest::getDestination in Lingotek Translation 3.3.x

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

Overrides LingotekTestBase::getDestination

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

File

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

Class

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

Namespace

Drupal\Tests\lingotek\Functional

Code

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