public function Message::getJob in Translation Management Tool 8
Loads the job entity that this job message is attached to.
Return value
\Drupal\tmgmt\JobInterface The job entity that this job message is attached to or FALSE if there was a problem.
Overrides MessageInterface::getJob
File
- src/
Entity/ Message.php, line 105  
Class
- Message
 - Entity class for the tmgmt_message entity.
 
Namespace
Drupal\tmgmt\EntityCode
public function getJob() {
  return Job::load($this
    ->get('tjid')->target_id);
}