You are here

protected function LingotekInterfaceTranslationTestTrait::getDestination in Lingotek Translation 3.7.x

Same name and namespace in other branches
  1. 4.0.x tests/src/Functional/LingotekInterfaceTranslationTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekInterfaceTranslationTestTrait::getDestination()
  2. 3.2.x tests/src/Functional/LingotekInterfaceTranslationTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekInterfaceTranslationTestTrait::getDestination()
  3. 3.3.x tests/src/Functional/LingotekInterfaceTranslationTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekInterfaceTranslationTestTrait::getDestination()
  4. 3.4.x tests/src/Functional/LingotekInterfaceTranslationTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekInterfaceTranslationTestTrait::getDestination()
  5. 3.5.x tests/src/Functional/LingotekInterfaceTranslationTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekInterfaceTranslationTestTrait::getDestination()
  6. 3.6.x tests/src/Functional/LingotekInterfaceTranslationTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekInterfaceTranslationTestTrait::getDestination()
  7. 3.8.x tests/src/Functional/LingotekInterfaceTranslationTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekInterfaceTranslationTestTrait::getDestination()
7 calls to LingotekInterfaceTranslationTestTrait::getDestination()
LingotekInterfaceTranslationTestTrait::assertLingotekInterfaceTranslationCheckSourceStatusLink in tests/src/Functional/LingotekInterfaceTranslationTestTrait.php
LingotekInterfaceTranslationTestTrait::assertLingotekInterfaceTranslationCheckTargetStatusLink in tests/src/Functional/LingotekInterfaceTranslationTestTrait.php
LingotekInterfaceTranslationTestTrait::assertLingotekInterfaceTranslationDownloadLink in tests/src/Functional/LingotekInterfaceTranslationTestTrait.php
LingotekInterfaceTranslationTestTrait::assertLingotekInterfaceTranslationRequestTranslationLink in tests/src/Functional/LingotekInterfaceTranslationTestTrait.php
LingotekInterfaceTranslationTestTrait::assertLingotekInterfaceTranslationUploadLink in tests/src/Functional/LingotekInterfaceTranslationTestTrait.php

... See full list

File

tests/src/Functional/LingotekInterfaceTranslationTestTrait.php, line 73

Class

LingotekInterfaceTranslationTestTrait
Trait with Lingotek interface translation test assertion helpers.

Namespace

Drupal\Tests\lingotek\Functional

Code

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