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."

"Validation handlers can also pass information on to submit handlers."

#3 form-form-state-docs-1601136-3.patch784 bytesChaulky
PASSED: [[SimpleTest]]: [MySQL] 36,681 pass(es). View
#3 D7-form-form-state-docs-1601136-3-do-not-test.patch764 bytesChaulky


jhodgdon’s picture

Title: Reword Form_State Paragraph » $form_state parameter docs in drupal_validate_form() need typo fixed
Version: 7.x-dev » 8.x-dev
Priority: Normal » Minor
Issue tags: +Novice, +needs backport to D7

Actually, I think the word "use" is missing: Validation handlers can also *use* $form_state...

JSCSJSCS’s picture

That does make more sense.

Chaulky’s picture

764 bytes
784 bytes
PASSED: [[SimpleTest]]: [MySQL] 36,681 pass(es). View

Attached 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

Chaulky’s picture

Status: Active » Needs review

Forgot to change status

jhodgdon’s picture

Status: Needs review » Reviewed & tested by the community

Thanks! 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). :)

jhodgdon’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 8.x/7.x. Thanks again!

Automatically closed -- issue fixed for 2 weeks with no activity.