From b12d812b9397609a5853d8c2b73f29d282496fd9 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 2 Jan 2010 15:00:34 +0000 Subject: - Patch #665878 by yched: fixed field_extra_fields() --- modules/field/field.api.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'modules/field/field.api.php') diff --git a/modules/field/field.api.php b/modules/field/field.api.php index 52000d922..b54dd63f4 100644 --- a/modules/field/field.api.php +++ b/modules/field/field.api.php @@ -19,9 +19,7 @@ * field_attach_extra_weight() to retrieve the user-defined weight when * inserting the component. * - * @param $bundle - * The name of the bundle being considered. - * @return + * @return @todo * An array of 'pseudo-field' components. The keys are the name of the element * as it appears in the form structure. The values are arrays with the * following key/value pairs: @@ -31,7 +29,7 @@ * - view: (optional) The name of the element as it appears in the rendered * structure, if different from the name in the form. */ -function hook_field_extra_fields($bundle) { +function hook_field_extra_fields() { $extra = array(); if ($type = node_type_get_type($bundle)) { -- cgit v1.2.3