You are here

function system_authorized_batch_processing_url in Drupal 10

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

Returns the URL for the authorize.php script when it is processing a batch.

Parameters

array $options: Optional array of options to set on the \Drupal\Core\Url object.

Return value

\Drupal\Core\Url

Related topics

1 call to system_authorized_batch_processing_url()
system_authorized_batch_process in core/modules/system/system.module
Use authorize.php to run batch_process().

File

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

Code

function system_authorized_batch_processing_url(array $options = []) {
  $options['query'] = [
    'batch' => '1',
  ];
  return system_authorized_get_url($options);
}