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