public static function ConnectorInfo::setUpCurrentClientInfo in TMGMT Translator Smartling 8.4
Same name and namespace in other branches
- 8.3 src/Smartling/ConnectorInfo.php \Drupal\tmgmt_smartling\Smartling\ConnectorInfo::setUpCurrentClientInfo()
Set up current client id and version.
2 calls to ConnectorInfo::setUpCurrentClientInfo()
- SmartlingApiFactory::create in src/
Smartling/ SmartlingApiFactory.php - Returns API object as a service.
- SmartlingTranslator::getApiWrapper in src/
Plugin/ tmgmt/ Translator/ SmartlingTranslator.php
File
- src/
Smartling/ ConnectorInfo.php, line 71 - SmartlingApiFactory.php.
Class
- ConnectorInfo
- Class ConnectorInfo @package Drupal\tmgmt_smartling\Smartling
Namespace
Drupal\tmgmt_smartling\SmartlingCode
public static function setUpCurrentClientInfo() {
BaseApiAbstract::setCurrentClientId(self::getLibName());
BaseApiAbstract::setCurrentClientVersion(self::getLibVersion());
BaseApiAbstract::setCurrentClientUserAgentExtension(self::getDependenciesVersionsAsString());
}