summaryrefslogtreecommitdiff
path: root/modules/system/system.api.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-07-31 21:21:33 +0000
committerDries Buytaert <dries@buytaert.net>2009-07-31 21:21:33 +0000
commit7dd203c42402be2174042c1ad56eb73f7a908eb6 (patch)
treeecd095fd4850955d8958e77a1baebb59f27cf953 /modules/system/system.api.php
parentb09aa24a0ee5c27568ce558182d40a3dc6373b41 (diff)
downloadbrdo-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.php2
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',