You are here

function og_migrate_admin_submit in Organic groups 7

Submit handler.

TODO: Add dependency tree.

File

og_migrate/og_migrate.module, line 347
Migrate and upgrade Organic groups data.

Code

function og_migrate_admin_submit($form, &$form_state) {
  if ($plugins_name = array_filter($form_state['values']['migrate'])) {
    og_migrate_batch($plugins_name);
  }
}