You are here

protected function LingotekTestBase::assertLinkToWorkbenchInNewTabInSinglePage in Lingotek Translation 3.0.x

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

Assert that there is a link to the workbench in a new tab.

Parameters

string $document_id: The document id.

string $langcode: The language code.

string $locale: The Lingotek locale.

Deprecated

in lingotek:3.0.0 and is removed from lingotek:4.0.0. Use ::assertLingotekWorkbenchLink() instead.

See also

::assertLingotekWorkbenchLink()

File

tests/src/Functional/LingotekTestBase.php, line 404

Class

LingotekTestBase
Base class for Lingotek test. Performs authorization of the account.

Namespace

Drupal\Tests\lingotek\Functional

Code

protected function assertLinkToWorkbenchInNewTabInSinglePage($document_id, $langcode, $locale) {
  $this
    ->assertLingotekWorkbenchLink($locale, $document_id);
}