public function LingotekApiInterface::addTranslation in Lingotek Translation 4.0.x
Same name and namespace in other branches
- 8 src/Remote/LingotekApiInterface.php \Drupal\lingotek\Remote\LingotekApiInterface::addTranslation()
- 8.2 src/Remote/LingotekApiInterface.php \Drupal\lingotek\Remote\LingotekApiInterface::addTranslation()
- 3.0.x src/Remote/LingotekApiInterface.php \Drupal\lingotek\Remote\LingotekApiInterface::addTranslation()
- 3.1.x src/Remote/LingotekApiInterface.php \Drupal\lingotek\Remote\LingotekApiInterface::addTranslation()
- 3.2.x src/Remote/LingotekApiInterface.php \Drupal\lingotek\Remote\LingotekApiInterface::addTranslation()
- 3.3.x src/Remote/LingotekApiInterface.php \Drupal\lingotek\Remote\LingotekApiInterface::addTranslation()
- 3.4.x src/Remote/LingotekApiInterface.php \Drupal\lingotek\Remote\LingotekApiInterface::addTranslation()
- 3.5.x src/Remote/LingotekApiInterface.php \Drupal\lingotek\Remote\LingotekApiInterface::addTranslation()
- 3.6.x src/Remote/LingotekApiInterface.php \Drupal\lingotek\Remote\LingotekApiInterface::addTranslation()
- 3.7.x src/Remote/LingotekApiInterface.php \Drupal\lingotek\Remote\LingotekApiInterface::addTranslation()
- 3.8.x src/Remote/LingotekApiInterface.php \Drupal\lingotek\Remote\LingotekApiInterface::addTranslation()
Adds a document target translation for a given locale from the Lingotek service.
Parameters
string $id: The document id.
string $locale: The target locale.
string $workflow_id: (Optional) The workflow ID.
Return value
\Psr\Http\Message\ResponseInterface A response.
1 method overrides LingotekApiInterface::addTranslation()
- LingotekApi::addTranslation in src/
Remote/ LingotekApi.php - Adds a document target translation for a given locale from the Lingotek service.
File
- src/
Remote/ LingotekApiInterface.php, line 154
Class
Namespace
Drupal\lingotek\RemoteCode
public function addTranslation($id, $locale, $workflow_id = NULL);