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