function globallink_create_submission_info in GlobalLink Connect for Drupal 7.6
Same name and namespace in other branches
- 7.5 gl_ws/gl_ws_send_translations.inc \globallink_create_submission_info()
1 call to globallink_create_submission_info()
File
- gl_ws/
gl_ws_send_translations.inc, line 99
Code
function globallink_create_submission_info($project_ticket, $client_identifier, $submitter) {
$metadata = new Metadata();
$metadata->key = 'drupalUser';
$metadata->value = $submitter;
$submission_info = new SubmissionInfo();
$submission_info->clientIdentifier = $client_identifier;
$submission_info->projectTicket = $project_ticket;
$submission_info->metadata = $metadata;
return $submission_info;
}