You are here

public function ExtendedTranslatorPluginInterface::downloadTranslation in TMGMT Extension Suite 8.3

Same name and namespace in other branches
  1. 8 src/ExtendedTranslatorPluginInterface.php \Drupal\tmgmt_extension_suit\ExtendedTranslatorPluginInterface::downloadTranslation()
  2. 8.2 src/ExtendedTranslatorPluginInterface.php \Drupal\tmgmt_extension_suit\ExtendedTranslatorPluginInterface::downloadTranslation()

Downloads translation.

Applies translation for all the job items inside the job if $jobitem is NULL. Applies translation to only one job item if $jobItem is passed.

Parameters

\Drupal\tmgmt\JobInterface $job: Job object.

JobItemInterface $jobItem:

Return value

bool TRUE if download process completed successfully FALSE otherwise.

1 method overrides ExtendedTranslatorPluginInterface::downloadTranslation()
TestLocalTranslator::downloadTranslation in modules/tmgmt_extension_suit_test/src/Plugin/tmgmt/Translator/TestLocalTranslator.php
Downloads translation.

File

src/ExtendedTranslatorPluginInterface.php, line 39

Class

ExtendedTranslatorPluginInterface
Interface for service plugin controllers.

Namespace

Drupal\tmgmt_extension_suit

Code

public function downloadTranslation(JobInterface $job, JobItemInterface $jobItem = NULL);