Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
4ce4c4eb
Commit
4ce4c4eb
authored
May 05, 2010
by
webchick
Browse files
#743124
by ldpm: Small correction to hook_form_alter() docs.
parent
e0be60f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/system/system.api.php
View file @
4ce4c4eb
...
...
@@ -1255,7 +1255,7 @@ function hook_page_alter(&$page) {
* Perform alterations before a form is rendered.
*
* 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'].
* altering a node form, the node object
can be accessed at
$form['#node'].
*
* 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. For each
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment