You are here

function lingotek_batch_disassociate_content_worker in Lingotek Translation 7.5

Same name and namespace in other branches
  1. 7.4 lingotek.batch.inc \lingotek_batch_disassociate_content_worker()
  2. 7.6 lingotek.batch.inc \lingotek_batch_disassociate_content_worker()
2 calls to lingotek_batch_disassociate_content_worker()
lingotek_disassociate_all_form_submit in ./lingotek.admin.inc
lingotek_entity_disassociate_form_submit in ./lingotek.bulk_grid.inc
Submit handler for the lingotek_entity_disassociate form.
1 string reference to 'lingotek_batch_disassociate_content_worker'
lingotek_batch_disassociate_content in ./lingotek.batch.inc
Batch Create: Lingotek Disassociate Translations

File

./lingotek.batch.inc, line 282
Central location for batch create functions, before control is handed off to individual batch command files.

Code

function lingotek_batch_disassociate_content_worker($api, $doc_id) {
  return $api
    ->removeDocument($doc_id);
}