summaryrefslogtreecommitdiff
path: root/modules/field/field.crud.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-07-11 00:56:45 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-07-11 00:56:45 +0000
commit6a686533ab84769fa8fdcf1df67663cc4b3f11c3 (patch)
tree173a7f28acb3e4b2beedbf5399864e5439701724 /modules/field/field.crud.inc
parentf6ccf978f6fc256ca1f17bd8e6b1ae5be4fe8df2 (diff)
downloadbrdo-6a686533ab84769fa8fdcf1df67663cc4b3f11c3.tar.gz
brdo-6a686533ab84769fa8fdcf1df67663cc4b3f11c3.tar.bz2
#516124 by yched: Clean up some Field API TODOs and remove unused APIs.
Diffstat (limited to 'modules/field/field.crud.inc')
-rw-r--r--modules/field/field.crud.inc5
1 files changed, 1 insertions, 4 deletions
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;
}