Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
API page: http://api.drupal.org/api/drupal/includes%21form.inc/function/drupal_val...
Suggest rewording in:
"Validation handlers can also $form_state to pass information on to submit handlers."
to:
"Validation handlers can also pass information on to submit handlers."
Comment | File | Size | Author |
---|---|---|---|
#3 | form-form-state-docs-1601136-3.patch | 784 bytes | Chaulky |
#3 | D7-form-form-state-docs-1601136-3-do-not-test.patch | 764 bytes | Chaulky |
Comments
Comment #1
jhodgdonActually, I think the word "use" is missing: Validation handlers can also *use* $form_state...
Comment #2
JSCSJSCS CreditAttribution: JSCSJSCS commentedThat does make more sense.
Comment #3
Chaulky CreditAttribution: Chaulky commentedAttached the very minor patch to add the missing "use". Included D7 patch since I can't imagine we'll need to go back and forth on this one.
Applies to latest...
D8: commit ca334de86
D7: commit f20658a8
Comment #4
Chaulky CreditAttribution: Chaulky commentedForgot to change status
Comment #5
jhodgdonThanks! I'll get this committed shortly. And by the way, it wasn't even necessary to make the 7.x patch, since the 8.x patch would have applied to 7.x just fine (with -p2). :)
Comment #6
jhodgdonCommitted to 8.x/7.x. Thanks again!