### Eclipse Workspace Patch 1.0 #P drupal_test_7 Index: modules/field/field.info.inc =================================================================== RCS file: /cvs/drupal/drupal/modules/field/field.info.inc,v retrieving revision 1.1 diff -u -r1.1 field.info.inc --- modules/field/field.info.inc 3 Feb 2009 17:30:11 -0000 1.1 +++ modules/field/field.info.inc 7 Feb 2009 23:07:59 -0000 @@ -1,4 +1,5 @@ content['field_foo']['wrapper'] = array( - * '#type' => 'field', + * '#theme' => 'field', * '#title' => 'label' * '#field_name' => 'field_name', * '#object' => $object, @@ -171,7 +168,7 @@ $format_info = $info + array( '#formatter' => $display['type'], '#settings' => $display['settings'], - '#theme_wrapper' => $theme, + '#theme' => $theme, ); if ($single) { @@ -187,7 +184,7 @@ // The wrapper lets us get the themed output for the whole field // to populate the $FIELD_NAME_rendered variable for templates, // and hide it from the $content variable if needed. - // See 'preprocess' op and theme_content_field_wrapper()? + // See 'preprocess' op and theme_content_field_wrapper(). $wrapper = $info + array( 'field' => $element, '#weight' => $instance['weight'], @@ -220,8 +217,8 @@ * This is a theme function, so it can be overridden in different * themes to produce different results. * - * The html for individual fields and groups are available in the - * $FIELD_NAME_rendered and $GROUP_NAME_rendered variables. + * The html for individual fields are available in the $FIELD_NAME_rendered + * variables. * * @return * Whether or not the field's content is to be added in this context. Index: modules/field/field.crud.inc =================================================================== RCS file: /cvs/drupal/drupal/modules/field/field.crud.inc,v retrieving revision 1.2 diff -u -r1.2 field.crud.inc --- modules/field/field.crud.inc 5 Feb 2009 03:42:57 -0000 1.2 +++ modules/field/field.crud.inc 7 Feb 2009 23:07:59 -0000 @@ -1,4 +1,5 @@ array(), - ); -} - -/** * Implementation of hook_theme(). */ function field_theme() { Index: modules/field/field.autoload.inc =================================================================== RCS file: /cvs/drupal/drupal/modules/field/field.autoload.inc,v retrieving revision 1.1 diff -u -r1.1 field.autoload.inc --- modules/field/field.autoload.inc 3 Feb 2009 17:30:11 -0000 1.1 +++ modules/field/field.autoload.inc 7 Feb 2009 23:07:58 -0000 @@ -1,4 +1,6 @@