From 131282f3ef9cd0585525a390dc8e1734f0c43f05 Mon Sep 17 00:00:00 2001
From: webchick <webchick@24967.no-reply.drupal.org>
Date: Thu, 28 Jul 2011 15:51:03 -0400
Subject: [PATCH] Issue #1194480 by James_Stallings, jhodgdon: Fixed
 field_default_view() doc has problems.

---
 modules/field/field.default.inc | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/modules/field/field.default.inc b/modules/field/field.default.inc
index a10d1387f8cb..cb49bdb85efb 100644
--- a/modules/field/field.default.inc
+++ b/modules/field/field.default.inc
@@ -168,17 +168,16 @@ function field_default_prepare_view($entity_type, $entities, $field, $instances,
 }
 
 /**
- * Builds a renderable array for field values.
+ * Builds a renderable array for one field on one entity instance.
  *
  * @param $entity_type
  *   The type of $entity; e.g. 'node' or 'user'.
- * @param $entities
- *   An array of entities being displayed, keyed by entity id.
+ * @param $entity
+ *   A single object of type $entity_type.
  * @param $field
  *   The field structure for the operation.
- * @param $instances
- *   Array of instance structures for $field for each entity, keyed by entity
- *   id.
+ * @param $instance
+ *   An array containing each field on $entity's bundle.
  * @param $langcode
  *   The language associated to $items.
  * @param $items
-- 
GitLab