summaryrefslogtreecommitdiff
path: root/modules/system/system.api.php
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-04-28 00:27:06 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-04-28 00:27:06 +0000
commit319220aaa2d0b7653d259897b1f22a11e3df0d0b (patch)
treea27a0e70c0c8ed7507f3d0e5ef40c6ae9ed2c8ec /modules/system/system.api.php
parentfc7283235bb9e5ae4300714d03c0bf3723f4792b (diff)
downloadbrdo-319220aaa2d0b7653d259897b1f22a11e3df0d0b.tar.gz
brdo-319220aaa2d0b7653d259897b1f22a11e3df0d0b.tar.bz2
#331832 follow-up by jhodgdon: Fix spelling of hook_form_FORM_ID_alter().
Diffstat (limited to 'modules/system/system.api.php')
-rw-r--r--modules/system/system.api.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php
index 25de2d9c3..808529c9a 100644
--- a/modules/system/system.api.php
+++ b/modules/system/system.api.php
@@ -242,8 +242,8 @@ 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.
+ * Note that instead of hook_form_alter(), which is called for all forms, you
+ * can also use hook_form_FORM_ID_alter() to alter a specific form.
*
* @param $form
* Nested array of form elements that comprise the form.
@@ -252,8 +252,6 @@ function hook_page_alter($page) {
* @param $form_id
* String representing the name of the form itself. Typically this is the
* name of the function that generated the form.
- * @return
- * None.
*/
function hook_form_alter(&$form, $form_state, $form_id) {
if (isset($form['type']) && $form['type']['#value'] . '_node_settings' == $form_id) {