public function SmartlingTranslator::getApiWrapper in TMGMT Translator Smartling 8.3
Same name and namespace in other branches
- 8.4 src/Plugin/tmgmt/Translator/SmartlingTranslator.php \Drupal\tmgmt_smartling\Plugin\tmgmt\Translator\SmartlingTranslator::getApiWrapper()
Parameters
array $settings:
Return value
\Drupal\tmgmt_smartling\Smartling\SmartlingApiWrapper
3 calls to SmartlingTranslator::getApiWrapper()
- SmartlingTranslator::abortTranslation in src/
Plugin/ tmgmt/ Translator/ SmartlingTranslator.php - Aborts a translation job.
- SmartlingTranslator::isReadyForDownload in src/
Plugin/ tmgmt/ Translator/ SmartlingTranslator.php - Checks if file is ready for download.
- SmartlingTranslator::requestTranslation in src/
Plugin/ tmgmt/ Translator/ SmartlingTranslator.php - @abstract
File
- src/
Plugin/ tmgmt/ Translator/ SmartlingTranslator.php, line 219 - Contains \Drupal\tmgmt_smartling\Plugin\tmgmt\Translator\SmartlingTranslator.
Class
- SmartlingTranslator
- Smartling translator plugin.
Namespace
Drupal\tmgmt_smartling\Plugin\tmgmt\TranslatorCode
public function getApiWrapper(array $settings) {
ConnectorInfo::setUpCurrentClientInfo();
$this->smartlingApiWrapper
->setSettings($settings);
return $this->smartlingApiWrapper;
}