You are here

public function TMGMTJob::acceptTranslation in Translation Management Tool 7

Propagates the returned job item translations to the sources.

Return value

boolean TRUE if we were able to propagate the translated data, FALSE otherwise.

File

entity/tmgmt.entity.job.inc, line 794

Class

TMGMTJob
Entity class for the tmgmt_job entity.

Code

public function acceptTranslation() {
  foreach ($this
    ->getItems() as $item) {
    $item
      ->acceptTranslation();
  }
}