You are here

public function SmartlingTranslator::downloadTranslation in TMGMT Translator Smartling 8.3

Same name and namespace in other branches
  1. 8.4 src/Plugin/tmgmt/Translator/SmartlingTranslator.php \Drupal\tmgmt_smartling\Plugin\tmgmt\Translator\SmartlingTranslator::downloadTranslation()
  2. 8 src/Plugin/tmgmt/Translator/SmartlingTranslator.php \Drupal\tmgmt_smartling\Plugin\tmgmt\Translator\SmartlingTranslator::downloadTranslation()
  3. 8.2 src/Plugin/tmgmt/Translator/SmartlingTranslator.php \Drupal\tmgmt_smartling\Plugin\tmgmt\Translator\SmartlingTranslator::downloadTranslation()

Downloads translation file and applies it.

Parameters

\Drupal\tmgmt\JobInterface $job:

Return value

bool

File

src/Plugin/tmgmt/Translator/SmartlingTranslator.php, line 653
Contains \Drupal\tmgmt_smartling\Plugin\tmgmt\Translator\SmartlingTranslator.

Class

SmartlingTranslator
Smartling translator plugin.

Namespace

Drupal\tmgmt_smartling\Plugin\tmgmt\Translator

Code

public function downloadTranslation(JobInterface $job) {
  return tmgmt_smartling_download_file($job);
}