From d3c83c021e93f2f6f7f42d96b0946c92e83506e8 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 20 Oct 2010 00:53:27 +0000 Subject: - Patch #942718 by joachim: drupal_get_form() and hook_form_alter() should mention #parameters. --- includes/form.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'includes') 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. -- cgit v1.2.3