public function Job::getRemoteMappings in Translation Management Tool 8
Gets remote mappings for current job.
Return value
array List of TMGMTRemote entities.
Overrides JobInterface::getRemoteMappings
File
- src/
Entity/ Job.php, line 902
Class
- Job
- Entity class for the tmgmt_job entity.
Namespace
Drupal\tmgmt\EntityCode
public function getRemoteMappings() {
$trids = \Drupal::entityQuery('tmgmt_remote')
->condition('tjid', $this
->id())
->execute();
if (!empty($trids)) {
return RemoteMapping::loadMultiple($trids);
}
return array();
}