You are here

function pathauto_bulk_update_batch_start in Pathauto 6.2

Same name and namespace in other branches
  1. 7 pathauto.admin.inc \pathauto_bulk_update_batch_start()

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

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

File

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

Code

function pathauto_bulk_update_batch_start(&$context) {
  $context['results']['count_before'] = db_result(db_query("SELECT COUNT(*) FROM {url_alias}"));
}