summaryrefslogtreecommitdiff
path: root/modules/field/field.info.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-08-01 06:03:48 +0000
committerDries Buytaert <dries@buytaert.net>2009-08-01 06:03:48 +0000
commit19f8439f8033f2645a5f14a1387b0224ee6d9747 (patch)
treee206113bd2d8bb3777e29b5b6d85224d8c378495 /modules/field/field.info.inc
parent59f89d62b5c6e3e84f7ecb9c9293b99aeed01f47 (diff)
downloadbrdo-19f8439f8033f2645a5f14a1387b0224ee6d9747.tar.gz
brdo-19f8439f8033f2645a5f14a1387b0224ee6d9747.tar.bz2
- Patch #528182 by yched: added missing field type documentation and removed some unnessary code.
Diffstat (limited to 'modules/field/field.info.inc')
-rw-r--r--modules/field/field.info.inc20
1 files changed, 0 insertions, 20 deletions
diff --git a/modules/field/field.info.inc b/modules/field/field.info.inc
index abe72197a..433494e1b 100644
--- a/modules/field/field.info.inc
+++ b/modules/field/field.info.inc
@@ -216,26 +216,6 @@ function _field_info_collate_fields($reset = FALSE) {
}
/**
- * Helper function for determining the behavior of a field
- * with respect to a given operation.
- *
- * @param $op
- * The name of the operation.
- * Currently supported : none
- * // TODO D7: no use cases (yet ?) - do we want to keep that function ?.
- * @param $field
- * The field array.
- * @return
- * FIELD_BEHAVIOR_NONE - do nothing for this operation.
- * FIELD_BEHAVIOR_CUSTOM - use the field's callback function.
- * FIELD_BEHAVIOR_DEFAULT - use field.module default behavior.
- */
-function field_behaviors_field($op, $field) {
- $info = field_info_field_types($field['type']);
- return isset($info['behaviors'][$op]) ? $info['behaviors'][$op] : FIELD_BEHAVIOR_DEFAULT;
-}
-
-/**
* Helper function for determining the behavior of a widget
* with respect to a given operation.
*