summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGábor Hojtsy2011-11-23 09:12:28 (GMT)
committer Gábor Hojtsy2011-11-23 09:12:28 (GMT)
commita55007f42b35c7da6aab582999edee1315304991 (patch)
tree5fd0a78bdff113ca48a4b845ba585f5166d4ea5a
parentd208bd598a6a542ef4654ed9a774082f99c4e3c5 (diff)
Issue #1100260 by barbi, jhodgdon: fix phpdoc in batch operations example to have a redirect
-rw-r--r--includes/form.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/form.inc b/includes/form.inc
index 54cda83..b29efcc 100644
--- a/includes/form.inc
+++ b/includes/form.inc
@@ -2324,8 +2324,9 @@ function form_clean_id($id = NULL, $flush = FALSE) {
* 'file' => 'path_to_file_containing_myfunctions',
* );
* batch_set($batch);
- * // only needed if not inside a form _submit handler :
- * batch_process();
+ * // Only needed if not inside a form _submit handler.
+ * // Setting redirect in batch_process.
+ * batch_process('node/1');
* @endcode
*
* Note: if the batch 'title', 'init_message', 'progress_message', or