You are here

function system_authorized_batch_process in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/system/system.module \system_authorized_batch_process()
  2. 7 modules/system/system.module \system_authorized_batch_process()

Use authorize.php to run batch_process().

See also

batch_process()

Related topics

2 calls to system_authorized_batch_process()
update_authorize_run_install in core/modules/update/update.authorize.inc
Installs a new project when invoked by authorize.php.
update_authorize_run_update in core/modules/update/update.authorize.inc
Updates existing projects when invoked by authorize.php.

File

core/modules/system/system.module, line 521
Configuration system that lets administrators modify the workings of the site.

Code

function system_authorized_batch_process() {
  $finish_url = system_authorized_get_url();
  $process_url = system_authorized_batch_processing_url();
  return batch_process($finish_url
    ->setAbsolute()
    ->toString(), $process_url);
}