diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-10-20 00:53:27 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-10-20 00:53:27 +0000 |
commit | d3c83c021e93f2f6f7f42d96b0946c92e83506e8 (patch) | |
tree | ee4b19a1150e994c6e8dd788f87313dcafdef049 /modules | |
parent | 0281833bb7c2bedcd786b8c002ceea325898227c (diff) | |
download | brdo-d3c83c021e93f2f6f7f42d96b0946c92e83506e8.tar.gz brdo-d3c83c021e93f2f6f7f42d96b0946c92e83506e8.tar.bz2 |
- Patch #942718 by joachim: drupal_get_form() and hook_form_alter() should mention #parameters.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/system/system.api.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php index d26548131..4959f098b 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -1404,7 +1404,9 @@ function hook_page_alter(&$page) { * @param $form * Nested array of form elements that comprise the form. * @param $form_state - * A keyed array containing the current state of the form. + * A keyed array containing the current state of the form. The arguments + * that drupal_get_form() was originally called with are available in the + * array $form_state['build_info']['args']. * @param $form_id * String representing the name of the form itself. Typically this is the * name of the function that generated the form. @@ -1432,7 +1434,9 @@ function hook_form_alter(&$form, &$form_state, $form_id) { * @param $form * Nested array of form elements that comprise the form. * @param $form_state - * A keyed array containing the current state of the form. + * A keyed array containing the current state of the form. The arguments + * that drupal_get_form() was originally called with are available in the + * array $form_state['build_info']['args']. * @param $form_id * String representing the name of the form itself. Typically this is the * name of the function that generated the form. |