system_authorized_batch_processing_url

system_authorized_batch_processing_url(array $options = array())

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

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

File

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

Code

function system_authorized_batch_processing_url(array $options = array()) {
  $options['query'] = array('batch' => '1');
  return system_authorized_get_url($options);
}
doc_Drupal
2016-10-29 09:45:52
Comments
Leave a Comment

Please login to continue.