- Patch #1106528 by joachim: field_attach_form_validate() documentation indentation is incorrect.
parent
75f6474983
commit
6a63b3531a
|
@ -779,11 +779,11 @@ function field_attach_validate($entity_type, $entity) {
|
||||||
* There are two levels of validation for fields in forms: widget
|
* There are two levels of validation for fields in forms: widget
|
||||||
* validation, and field validation.
|
* validation, and field validation.
|
||||||
* - Widget validation steps are specific to a given widget's own form
|
* - Widget validation steps are specific to a given widget's own form
|
||||||
* structure and UI metaphors. They are executed through FAPI's
|
* structure and UI metaphors. They are executed through FAPI's
|
||||||
* #element_validate property during normal form validation.
|
* #element_validate property during normal form validation.
|
||||||
* - Field validation steps are common to a given field type, independently of
|
* - Field validation steps are common to a given field type, independently of
|
||||||
* the specific widget being used in a given form. They are defined in the
|
* the specific widget being used in a given form. They are defined in the
|
||||||
* field type's implementation of hook_field_validate().
|
* field type's implementation of hook_field_validate().
|
||||||
*
|
*
|
||||||
* This function performs field validation in the context of a form
|
* This function performs field validation in the context of a form
|
||||||
* submission. It converts field validation errors into form errors
|
* submission. It converts field validation errors into form errors
|
||||||
|
|
Loading…
Reference in New Issue