diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-08-01 06:03:48 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-08-01 06:03:48 +0000 |
commit | 19f8439f8033f2645a5f14a1387b0224ee6d9747 (patch) | |
tree | e206113bd2d8bb3777e29b5b6d85224d8c378495 /modules/field/field.info.inc | |
parent | 59f89d62b5c6e3e84f7ecb9c9293b99aeed01f47 (diff) | |
download | brdo-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.inc | 20 |
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. * |