You are here

protected function LingotekSystemSiteBulkTranslationTest::getDestination in Lingotek Translation 4.0.x

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

Overrides LingotekTestBase::getDestination

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

File

tests/src/Functional/LingotekSystemSiteBulkTranslationTest.php, line 2035

Class

LingotekSystemSiteBulkTranslationTest
Tests translating a config object using the bulk management form.

Namespace

Drupal\Tests\lingotek\Functional

Code

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