function lingotek_add_vault in Lingotek Translation 7.6
Same name and namespace in other branches
- 6 lingotek.api.inc \lingotek_add_vault()
- 7.7 lingotek.remote.inc \lingotek_add_vault()
- 7.2 lingotek.api.inc \lingotek_add_vault()
- 7.3 lingotek.api.inc \lingotek_add_vault()
- 7.4 lingotek.api.inc \lingotek_add_vault()
- 7.5 lingotek.remote.inc \lingotek_add_vault()
2 calls to lingotek_add_vault()
- lingotek_admin_additional_translation_settings_form in ./
lingotek.admin.inc - Additional translation form
- lingotek_admin_profile_form in ./
lingotek.admin.inc - Content defaults Form
File
- ./
lingotek.remote.inc, line 442
Code
function lingotek_add_vault($name) {
$output = LingotekApi::instance()
->request('addTMVault', array(
'tmVaultName' => $name,
));
if ($output->results == "success") {
variable_set('lingotek_vault', $output->id);
return $output->id;
}
}