public function SmartlingApi::uploadContext in TMGMT Translator Smartling 8
upload context to Smartling
Parameters
array $data:
Return value
string
File
- src/
Smartling/ SmartlingApi.php, line 415
Class
Namespace
Drupal\tmgmt_smartling\SmartlingCode
public function uploadContext($data, $filenames) {
$orgID = $data['orgId'];
unset($data['orgId']);
return $this
->sendRequest('js/' . $orgID . '/html', $data, 'POST', $filenames);
}