Permalink
Browse files

Issue #1796500 by sandykadam: Fix docs for hook_field_attach_validate()

  • Loading branch information...
jhodgdon-drp committed Feb 27, 2014
1 parent 9463aa7 commit 627a891f5192f063025a2fa942b2e14598dca0f1
Showing with 7 additions and 0 deletions.
  1. +7 −0 modules/field/field.api.php
@@ -1312,6 +1312,13 @@ function hook_field_attach_load($entity_type, $entities, $age, $options) {
* This hook is invoked after the field module has performed the operation.
*
* See field_attach_validate() for details and arguments.
+ *
+ * @param $entity_type
+ * The type of $entity; e.g., 'node' or 'user'.
+ * @param $entity
+ * The entity with fields to validate.
+ * @param array $errors
+ * An associative array of errors keyed by field_name, language, delta.
*/
function hook_field_attach_validate($entity_type, $entity, &$errors) {
// @todo Needs function body.

0 comments on commit 627a891

Please sign in to comment.