function import_process_import in Import 6
invokes hook_import_process() and contains a context variable for use with the batch api
Parameters
$data: An array containing the following keys that correspond to data staged in the {import} table:
- impid
- type
$context: The context array used for batch processing
1 string reference to 'import_process_import'
- import_admin_form_submit in ./
import.module - Submit handler for the import_admin_form
File
- ./
import.module, line 24
Code
function import_process_import($data, &$context) {
module_invoke_all('import_process', $data);
$context['message'] = t('Processing import') . ' ' . $data->type . ' ' . $data->impid;
return;
}