function lingotek_get_sync_upload_config_batch_elements in Lingotek Translation 7.6
Same name and namespace in other branches
- 7.7 lingotek.batch.inc \lingotek_get_sync_upload_config_batch_elements()
- 7.3 lingotek.batch.inc \lingotek_get_sync_upload_config_batch_elements()
- 7.4 lingotek.batch.inc \lingotek_get_sync_upload_config_batch_elements()
- 7.5 lingotek.batch.inc \lingotek_get_sync_upload_config_batch_elements()
Sync - Upload Config Batch Elements: Creates the batch elements for config (ie. menus, taxonomies, etc.), that need to be uploaded.
2 calls to lingotek_get_sync_upload_config_batch_elements()
- lingotek_config_upload_selected in ./
lingotek.config.inc - lingotek_sync_batch_create in ./
lingotek.batch.inc - Batch Create - Sync: Uploads new and changed documents for translation and Downloads translated documents.
File
- ./
lingotek.batch.inc, line 163 - Central location for batch create functions, before control is handed off to individual batch command files.
Code
function lingotek_get_sync_upload_config_batch_elements($set_ids = array()) {
$operations = array();
if (is_array($set_ids)) {
foreach ($set_ids as $sid) {
$operations[] = array(
'lingotek_sync_upload_config_set',
array(
$sid,
),
);
}
}
return $operations;
}