protected function LingotekBatchController::getDownloadOperations in Lingotek Translation 8
Same name and namespace in other branches
- 8.2 src/Controller/LingotekBatchController.php \Drupal\lingotek\Controller\LingotekBatchController::getDownloadOperations()
- 4.0.x src/Controller/LingotekBatchController.php \Drupal\lingotek\Controller\LingotekBatchController::getDownloadOperations()
- 3.0.x src/Controller/LingotekBatchController.php \Drupal\lingotek\Controller\LingotekBatchController::getDownloadOperations()
- 3.1.x src/Controller/LingotekBatchController.php \Drupal\lingotek\Controller\LingotekBatchController::getDownloadOperations()
- 3.2.x src/Controller/LingotekBatchController.php \Drupal\lingotek\Controller\LingotekBatchController::getDownloadOperations()
- 3.3.x src/Controller/LingotekBatchController.php \Drupal\lingotek\Controller\LingotekBatchController::getDownloadOperations()
- 3.4.x src/Controller/LingotekBatchController.php \Drupal\lingotek\Controller\LingotekBatchController::getDownloadOperations()
- 3.5.x src/Controller/LingotekBatchController.php \Drupal\lingotek\Controller\LingotekBatchController::getDownloadOperations()
- 3.6.x src/Controller/LingotekBatchController.php \Drupal\lingotek\Controller\LingotekBatchController::getDownloadOperations()
- 3.7.x src/Controller/LingotekBatchController.php \Drupal\lingotek\Controller\LingotekBatchController::getDownloadOperations()
- 3.8.x src/Controller/LingotekBatchController.php \Drupal\lingotek\Controller\LingotekBatchController::getDownloadOperations()
1 call to LingotekBatchController::getDownloadOperations()
- LingotekBatchController::downloadSingle in src/
Controller/ LingotekBatchController.php
File
- src/
Controller/ LingotekBatchController.php, line 87
Class
Namespace
Drupal\lingotek\ControllerCode
protected function getDownloadOperations($entity_type, $entity_ids, $locales) {
$operations = array();
if (is_array($entity_ids)) {
foreach ($entity_ids as $id) {
foreach ($locales as $locale) {
$operations[] = array(
'lingotek_operation_translation_download',
array(
$entity_type,
$id,
$locale,
),
);
}
}
}
return $operations;
}