You are here

function pathauto_bulk_update_batch_process in Pathauto 7

Same name and namespace in other branches
  1. 6.2 pathauto.admin.inc \pathauto_bulk_update_batch_process()

Common batch processing callback for all operations.

Required to load our include the proper batch file.

1 string reference to 'pathauto_bulk_update_batch_process'
pathauto_bulk_update_form_submit in ./pathauto.admin.inc
Form submit handler for path alias bulk update form.

File

./pathauto.admin.inc, line 327
Admin page callbacks for the Pathauto module.

Code

function pathauto_bulk_update_batch_process($callback, $settings, &$context) {
  if (!empty($settings->batch_file)) {
    require_once DRUPAL_ROOT . '/' . $settings->batch_file;
  }
  return $callback($context);
}