public function LingotekConfigTranslationServiceInterface::uploadConfig in Lingotek Translation 3.4.x
Same name and namespace in other branches
- 8 src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::uploadConfig()
- 8.2 src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::uploadConfig()
- 4.0.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::uploadConfig()
- 3.0.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::uploadConfig()
- 3.1.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::uploadConfig()
- 3.2.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::uploadConfig()
- 3.3.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::uploadConfig()
- 3.5.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::uploadConfig()
- 3.6.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::uploadConfig()
- 3.7.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::uploadConfig()
- 3.8.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::uploadConfig()
Uploads a document to the Lingotek service.
Parameters
string $mapper_id: The entity being uploaded.
string $job_id: (optional) The job ID that will be associated.
Return value
bool TRUE if the document was uploaded successfully, FALSE if not.
Throws
\Drupal\lingotek\Exception\LingotekPaymentRequiredException
\Drupal\lingotek\Exception\LingotekApiException
Propagated from @throws \Drupal\lingotek\Exception\LingotekDocumentArchivedException
\Drupal\lingotek\Exception\LingotekDocumentLockedException
See also
::updateConfig :
1 method overrides LingotekConfigTranslationServiceInterface::uploadConfig()
- LingotekConfigTranslationService::uploadConfig in src/
LingotekConfigTranslationService.php - Uploads a document to the Lingotek service.
File
- src/
LingotekConfigTranslationServiceInterface.php, line 471
Class
- LingotekConfigTranslationServiceInterface
- Service for managing Lingotek configuration translations.
Namespace
Drupal\lingotekCode
public function uploadConfig($mapper_id, $job_id = NULL);