public function TMGMTJobItem::getTranslator in Translation Management Tool 7
Returns the translator for this job item.
Return value
TMGMTTranslator The translator entity or FALSE if there was a problem.
File
- entity/
tmgmt.entity.job_item.inc, line 267
Class
- TMGMTJobItem
- Entity class for the tmgmt_job entity.
Code
public function getTranslator() {
if ($job = $this
->getJob()) {
return $job
->getTranslator();
}
return FALSE;
}