summaryrefslogtreecommitdiff
path: root/modules/field
diff options
context:
space:
mode:
Diffstat (limited to 'modules/field')
-rw-r--r--modules/field/field.default.inc11
1 files changed, 5 insertions, 6 deletions
diff --git a/modules/field/field.default.inc b/modules/field/field.default.inc
index a10d1387f..cb49bdb85 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