function lingotek_get_entity_reference_updater_batch_elements in Lingotek Translation 7.7
Get entity reference updater operations (Re-connect translation parents to translation children)
1 call to lingotek_get_entity_reference_updater_batch_elements()
- lingotek_cleanup_entity_references in ./
lingotek.util.inc - Re-links translation parent entities to translation child entities
File
- ./
lingotek.batch.inc, line 191 - Central location for batch create functions, before control is handed off to individual batch command files.
Code
function lingotek_get_entity_reference_updater_batch_elements($entities) {
$operations = array();
foreach ($entities as $entity) {
$operations[] = array(
'lingotek_update_entity_references',
array(
$entity,
),
);
}
return $operations;
}