function tmgmt_rules_job_request_translation in Translation Management Tool 7
Rules callback to request a translation of a job.
File
- ./
tmgmt.rules.inc, line 147 - Rules integration.
Code
function tmgmt_rules_job_request_translation(TMGMTJob $job) {
if ($job
->isTranslatable()) {
$job
->requestTranslation();
}
}