diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-12-12 20:16:03 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-12-12 20:16:03 +0000 |
commit | 6a13eb22fc5c7c2a27d6c18e8ec99493f1566350 (patch) | |
tree | 4b7a581e8e459fe8f00a56920165a0c6e9a5aa3f /modules/field/field.attach.inc | |
parent | d0355f72ca75af0b9320a4560b14716195963a57 (diff) | |
download | brdo-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.inc | 10 |
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 |