From 6a686533ab84769fa8fdcf1df67663cc4b3f11c3 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sat, 11 Jul 2009 00:56:45 +0000 Subject: #516124 by yched: Clean up some Field API TODOs and remove unused APIs. --- modules/field/field.crud.inc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'modules/field/field.crud.inc') diff --git a/modules/field/field.crud.inc b/modules/field/field.crud.inc index 77cc9fdc2..dbcbda92e 100644 --- a/modules/field/field.crud.inc +++ b/modules/field/field.crud.inc @@ -102,9 +102,6 @@ * to other fields when used with this bundle. The weight affects * ordering in both forms (see field_attach_form()) and rendered output * (see field_attach_view()). - * TODO - this should probably become a context setting so that - * the weight can be different in the form and in various other - * contexts. * - required (integer) * TRUE if a value for this field is required when used with this * bundle, FALSE otherwise. Currently, required-ness is only enforced @@ -276,7 +273,7 @@ function field_create_field($field) { // Invoke external hooks after the cache is cleared for API consistency. module_invoke_all('field_create_field', $field); - + return $field; } -- cgit v1.2.3