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