public static function JobCheckoutManager::batchSubmit in Translation Management Tool 8
Batch dispatch callback for submitting a job.
Parameters
int $job_id: The job ID to submit.
int|null $template_job_id: (optional) A template job to use for the translator and settings.
File
- src/
JobCheckoutManager.php, line 235
Class
- JobCheckoutManager
- Provides functionality related to job checkout and submissions.
Namespace
Drupal\tmgmtCode
public static function batchSubmit($job_id, $template_job_id = NULL, &$context) {
\Drupal::service('tmgmt.job_checkout_manager')
->doBatchSubmit($job_id, $template_job_id);
}