function cer_batch_index_remaining in Corresponding Entity References 7
Submit a batch job to index the remaining, unindexed content.
1 call to cer_batch_index_remaining()
- cer_update_form_submit in ./
cer.admin.inc - The update form. Allows updating of current entitys.
File
- ./
cer.module, line 180 - Module file providing the "corresponding entity reference" module main functions.
Code
function cer_batch_index_remaining($type, $limit) {
$batch = array(
'operations' => array(
array(
'cer_batch_update_existing_entities',
array(
$type,
$limit,
),
),
),
'finished' => 'cer_batch_update_existing_finished',
'title' => t('Processing'),
'init_message' => t('Preparing to update corresponding entity references for existing entities...'),
'progress_message' => t('Processing entities...'),
'error_message' => t('Corresponding entity references - existing entity update has encountered an error.'),
);
batch_set($batch);
}