protected function LingotekConfigTranslationService::checkConfigUploadProcessId in Lingotek Translation 3.7.x
Same name and namespace in other branches
- 4.0.x src/LingotekConfigTranslationService.php \Drupal\lingotek\LingotekConfigTranslationService::checkConfigUploadProcessId()
- 3.8.x src/LingotekConfigTranslationService.php \Drupal\lingotek\LingotekConfigTranslationService::checkConfigUploadProcessId()
Checks the upload process id.
Parameters
string $mapper_id: The mapper being imported.
Return value
bool If the process is completed or in progress, returns TRUE. If it failed, returns FALSE.
1 call to LingotekConfigTranslationService::checkConfigUploadProcessId()
- LingotekConfigTranslationService::checkConfigSourceStatus in src/
LingotekConfigTranslationService.php - Checks the source is uploaded correctly.
File
- src/
LingotekConfigTranslationService.php, line 2132
Class
- LingotekConfigTranslationService
- Service for managing Lingotek configuration translations.
Namespace
Drupal\lingotekCode
protected function checkConfigUploadProcessId($mapper_id) {
$process_id = $this
->getConfigUploadProcessId($mapper_id);
return $this->lingotek
->getProcessStatus($process_id) !== FALSE;
}