summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-03-08 03:46:31 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-03-08 03:46:31 +0000
commitad84a92662cea2c8ad2e1d29ccdc7234627d4a51 (patch)
treec57e88bd31336ea141c730f77c42fb85a47b2f5a
parent6b07c32e80b3d2fd7d7dd8db73e237f6f4c6aabf (diff)
downloadbrdo-ad84a92662cea2c8ad2e1d29ccdc7234627d4a51.tar.gz
brdo-ad84a92662cea2c8ad2e1d29ccdc7234627d4a51.tar.bz2
#331832 by jhodgdon: Add pointer from hook_form_alter() docs to hook_form_FORM_ID_alter().
-rw-r--r--modules/system/system.api.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php
index 63cdbe249..8bdace642 100644
--- a/modules/system/system.api.php
+++ b/modules/system/system.api.php
@@ -242,6 +242,9 @@ function hook_page_alter($page) {
* One popular use of this hook is to add form elements to the node form. When
* altering a node form, the node object retrieved at from $form['#node'].
*
+ * Note that you can also use hook_FORM_ID_alter() to alter a specific form,
+ * instead of this hook, which gets called for all forms.
+ *
* @param $form
* Nested array of form elements that comprise the form.
* @param $form_state