Issue #1106528 by joachim: field_attach_form_validate() documentation indentation is incorrect.

merge-requests/26/head
webchick 2011-03-28 08:49:12 -07:00
parent d5b3e46468
commit 8fbf445fa0
1 changed files with 4 additions and 4 deletions

View File

@ -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