1 path.admin.inc path_bulk_update_batch_start(&$context)

Batch callback; count the current number of URL aliases for comparison later.

File

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

Code

function path_bulk_update_batch_start(&$context) {
  $context['results']['total']['node'] = 0;
  $context['results']['total']['taxonomy_term'] = 0;
  $context['results']['total']['user'] = 0;
  $context['results']['count_before'] = db_select('url_alias')->countQuery()->execute()->fetchField();
}