Issue #1601136 by Chaulky: Fix param docs in drupal_validate_form function
parent
dd73050be0
commit
c8a1f5bc81
|
@ -1086,7 +1086,7 @@ function drupal_prepare_form($form_id, &$form, &$form_state) {
|
||||||
* A keyed array containing the current state of the form. The current
|
* A keyed array containing the current state of the form. The current
|
||||||
* user-submitted data is stored in $form_state['values'], though
|
* user-submitted data is stored in $form_state['values'], though
|
||||||
* form validation functions are passed an explicit copy of the
|
* form validation functions are passed an explicit copy of the
|
||||||
* values for the sake of simplicity. Validation handlers can also
|
* values for the sake of simplicity. Validation handlers can also use
|
||||||
* $form_state to pass information on to submit handlers. For example:
|
* $form_state to pass information on to submit handlers. For example:
|
||||||
* $form_state['data_for_submission'] = $data;
|
* $form_state['data_for_submission'] = $data;
|
||||||
* This technique is useful when validation requires file parsing,
|
* This technique is useful when validation requires file parsing,
|
||||||
|
|
Loading…
Reference in New Issue