summaryrefslogtreecommitdiff
path: root/modules/field/field.attach.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-12-12 20:16:03 +0000
committerDries Buytaert <dries@buytaert.net>2009-12-12 20:16:03 +0000
commit6a13eb22fc5c7c2a27d6c18e8ec99493f1566350 (patch)
tree4b7a581e8e459fe8f00a56920165a0c6e9a5aa3f /modules/field/field.attach.inc
parentd0355f72ca75af0b9320a4560b14716195963a57 (diff)
downloadbrdo-6a13eb22fc5c7c2a27d6c18e8ec99493f1566350.tar.gz
brdo-6a13eb22fc5c7c2a27d6c18e8ec99493f1566350.tar.bz2
- Patch #657828 by yched: make hook_field_formatter() act on all field values.
Diffstat (limited to 'modules/field/field.attach.inc')
-rw-r--r--modules/field/field.attach.inc10
1 files changed, 1 insertions, 9 deletions
diff --git a/modules/field/field.attach.inc b/modules/field/field.attach.inc
index 7daca8468..1b55180cd 100644
--- a/modules/field/field.attach.inc
+++ b/modules/field/field.attach.inc
@@ -1134,15 +1134,7 @@ function field_attach_prepare_view($obj_type, $objects, $build_mode = 'full') {
* '#formatter' => the name of the formatter,
* '#items' => the field values being displayed,
* // The element's children are the formatted values returned by
- * // hook_field_formatter(), keyed by delta.
- * 0 => array(
- * // Renderable array for value 0, or for all values if the formatter
- * // is 'multiple-values'.
- * ),
- * 1 => array(
- * // Renderable array for value 1 (only for 'single-value' formatters).
- * ),
- * // ...
+ * // hook_field_formatter().
* ),
* );
* @endcode