summaryrefslogtreecommitdiff
path: root/includes/form.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-10-27 04:12:39 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-10-27 04:12:39 +0000
commit0e05035b7104baa80614eefab90b6d90996ca3dc (patch)
treead6180c49c429e48e5d191077aa0b8de0fabb1eb /includes/form.inc
parentca7b56e7351a7fe57d2c1d4c6feef44e2879caf0 (diff)
downloadbrdo-0e05035b7104baa80614eefab90b6d90996ca3dc.tar.gz
brdo-0e05035b7104baa80614eefab90b6d90996ca3dc.tar.bz2
#610204 by effulgentsia, Gábor Hojtsy, sun, Damien Tournoud and ksenzee: API changes to support overlays: lays ground work for implementation.
Diffstat (limited to 'includes/form.inc')
-rw-r--r--includes/form.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/includes/form.inc b/includes/form.inc
index e2d281384..0de410ea5 100644
--- a/includes/form.inc
+++ b/includes/form.inc
@@ -2963,7 +2963,9 @@ function _form_set_class(&$element, $class = array()) {
* 'operations' and 'finished' functions, for instance if they don't
* reside in the original '.module' file. The path should be relative to
* the base_path(), and thus should be built using drupal_get_path().
- * 'css' : an array of paths to CSS files to be used on the progress page.
+ * 'css': an array of paths to CSS files to be used on the progress page.
+ * 'url_options': options passed to url() when constructing redirect
+ * URLs for the batch.
*
* Operations are added as new batch sets. Batch sets are used to ensure
* clean code independence, ensuring that several batches submitted by
@@ -3051,6 +3053,7 @@ function batch_process($redirect = NULL, $url = 'batch', $redirect_callback = 'd
'current_set' => 0,
'progressive' => TRUE,
'url' => $url,
+ 'url_options' => array(),
'source_page' => $_GET['q'],
'redirect' => $redirect,
'theme' => $GLOBALS['theme_key'],