system_authorized_batch_process

system_authorized_batch_process()

Use authorize.php to run batch_process().

See also

batch_process()

Related topics

Authorized operations
Functions to run operations with elevated privileges via authorize.php.

File

core/modules/system/system.module, line 486
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);
}
doc_Drupal
2016-10-29 09:45:52
Comments
Leave a Comment

Please login to continue.