You are here

public function LingotekInterface::addTarget in Lingotek Translation 8

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

Requests a translation to the Lingotek service.

Parameters

string $doc_id: The document id to translate.

string $locale: The Lingotek locale to request.

\Drupal\lingotek\LingotekProfileInterface $profile: The profile being used.

Return value

mixed

2 methods override LingotekInterface::addTarget()
Lingotek::addTarget in src/Lingotek.php
Requests a translation to the Lingotek service.
LingotekFake::addTarget in tests/modules/lingotek_test/src/LingotekFake.php
Requests a translation to the Lingotek service.

File

src/LingotekInterface.php, line 95

Class

LingotekInterface

Namespace

Drupal\lingotek

Code

public function addTarget($doc_id, $locale, LingotekProfileInterface $profile = NULL);