public function TMGMTJob::isTranslatable in Translation Management Tool 7
Checks whether a job is translatable.
Return value
boolean TRUE if the job can be translated, FALSE otherwise.
1 call to TMGMTJob::isTranslatable()
- TMGMTJob::requestTranslation in entity/
tmgmt.entity.job.inc - Request the translation of a job from the translator.
File
- entity/
tmgmt.entity.job.inc, line 498
Class
- TMGMTJob
- Entity class for the tmgmt_job entity.
Code
public function isTranslatable() {
if ($translator = $this
->getTranslator()) {
if ($translator
->canTranslate($this)) {
return TRUE;
}
}
return FALSE;
}