summaryrefslogtreecommitdiff
path: root/includes/form.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-10-20 00:53:27 +0000
committerDries Buytaert <dries@buytaert.net>2010-10-20 00:53:27 +0000
commitd3c83c021e93f2f6f7f42d96b0946c92e83506e8 (patch)
treeee4b19a1150e994c6e8dd788f87313dcafdef049 /includes/form.inc
parent0281833bb7c2bedcd786b8c002ceea325898227c (diff)
downloadbrdo-d3c83c021e93f2f6f7f42d96b0946c92e83506e8.tar.gz
brdo-d3c83c021e93f2f6f7f42d96b0946c92e83506e8.tar.bz2
- Patch #942718 by joachim: drupal_get_form() and hook_form_alter() should mention #parameters.
Diffstat (limited to 'includes/form.inc')
-rw-r--r--includes/form.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/form.inc b/includes/form.inc
index c1e55ec72..c2c179026 100644
--- a/includes/form.inc
+++ b/includes/form.inc
@@ -163,7 +163,9 @@
* Any additional arguments are passed on to the functions called by
* drupal_get_form(), including the unique form constructor function. For
* example, the node_edit form requires that a node object is passed in here
- * when it is called.
+ * when it is called. These are available to implementations of
+ * hook_form_alter() and hook_form_FORM_ID_alter() as the array
+ * $form_state['build_info']['args'].
*
* @return
* The form array.