Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
4ce4c4eb
Commit
4ce4c4eb
authored
May 5, 2010
by
Angie Byron
Browse files
Options
Downloads
Patches
Plain Diff
#743124
by ldpm: Small correction to hook_form_alter() docs.
parent
e0be60f6
No related branches found
No related tags found
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/system/system.api.php
+1
-1
1 addition, 1 deletion
modules/system/system.api.php
with
1 addition
and
1 deletion
modules/system/system.api.php
+
1
−
1
View file @
4ce4c4eb
...
@@ -1255,7 +1255,7 @@ function hook_page_alter(&$page) {
...
@@ -1255,7 +1255,7 @@ function hook_page_alter(&$page) {
* Perform alterations before a form is rendered.
* Perform alterations before a form is rendered.
*
*
* One popular use of this hook is to add form elements to the node form. When
* 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
* 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
* can also use hook_form_FORM_ID_alter() to alter a specific form. For each
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment