function system_authorized_batch_processing_url

Same name in other branches
  1. 7.x modules/system/system.module \system_authorized_batch_processing_url()
  2. 9 core/modules/system/system.module \system_authorized_batch_processing_url()
  3. 8.9.x core/modules/system/system.module \system_authorized_batch_processing_url()
  4. 10 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 The full URL for the authorize.php script with batch processing options.

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 277

Code

function system_authorized_batch_processing_url(array $options = []) {
    @trigger_error(__FUNCTION__ . '() is deprecated in drupal:11.2.0 and is removed from drupal:12.0.0. There is no replacement. Use composer to manage the code for your site. See https://www.drupal.org/node/3512364', E_USER_DEPRECATED);
    $options['query'] = [
        'batch' => '1',
    ];
    return system_authorized_get_url($options);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.