function invite_migrate_form_submit in Invite 7.4
Implements submit handler for migration.
_state
Parameters
$form:
File
- includes/
invite.admin.inc, line 473
Code
function invite_migrate_form_submit($form, &$form_state) {
if ($form_state['values']['submit'] == t('Migrate')) {
$batch = array(
'title' => t('Migrating'),
'operations' => array(
array(
'invite_migrate_process',
array(
$form_state['values'],
),
),
),
'file' => drupal_get_path('module', 'invite') . '/includes/invite.admin.inc',
);
batch_set($batch);
batch_process();
}
}