You are here

function tmgmt_rules_job_abort_translation in Translation Management Tool 7

Rules callback to cancel a translation job.

File

./tmgmt.rules.inc, line 167
Rules integration.

Code

function tmgmt_rules_job_abort_translation(TMGMTJob $job) {
  $job
    ->abortTranslation();
}