diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-07-31 21:21:33 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-07-31 21:21:33 +0000 |
commit | 7dd203c42402be2174042c1ad56eb73f7a908eb6 (patch) | |
tree | ecd095fd4850955d8958e77a1baebb59f27cf953 /modules/system/system.api.php | |
parent | b09aa24a0ee5c27568ce558182d40a3dc6373b41 (diff) | |
download | brdo-7dd203c42402be2174042c1ad56eb73f7a908eb6.tar.gz brdo-7dd203c42402be2174042c1ad56eb73f7a908eb6.tar.bz2 |
- Patch #528918 by lyaunzbe: document that hook_form_alter() passes by reference. lyaunzbe is a new contributor -- welcome!
Diffstat (limited to 'modules/system/system.api.php')
-rw-r--r-- | modules/system/system.api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php index 685f16ac3..eef1e2fce 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -367,7 +367,7 @@ function hook_page_alter($page) { * String representing the name of the form itself. Typically this is the * name of the function that generated the form. */ -function hook_form_alter(&$form, $form_state, $form_id) { +function hook_form_alter(&$form, &$form_state, $form_id) { if (isset($form['type']) && $form['type']['#value'] . '_node_settings' == $form_id) { $form['workflow']['upload_' . $form['type']['#value']] = array( '#type' => 'radios', |