You are here

public function TMGMTJobItem::getTranslatorController in Translation Management Tool 7

Returns the translator plugin controller of the translator of this job item.

Return value

TMGMTTranslatorPluginControllerInterface The controller of the translator plugin or FALSE if there was a problem.

File

entity/tmgmt.entity.job_item.inc, line 280

Class

TMGMTJobItem
Entity class for the tmgmt_job entity.

Code

public function getTranslatorController() {
  if ($job = $this
    ->getJob()) {
    return $job
      ->getTranslatorController();
  }
  return FALSE;
}