1 path.admin.inc path_bulk_update_batch_process($callback, $path_info, &$context)

Common batch processing callback for all operations.

Required to load our include the proper batch file.

File

core/modules/path/path.admin.inc, line 865
Admin page callbacks for the Path module.

Code

function path_bulk_update_batch_process($callback, $path_info, &$context) {
  if (!empty($path_info['batch file'])) {
    require_once BACKDROP_ROOT . '/' . $path_info['batch file path'] . '/' . $path_info['batch file'];
    $context['choices'] = array_keys($path_info['choices']);
    $context['op'] = $path_info['op'];
  }
  return $callback($context);
}