diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/field/field.info.inc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/field/field.info.inc b/modules/field/field.info.inc index 77e9b441a..3b36c0355 100644 --- a/modules/field/field.info.inc +++ b/modules/field/field.info.inc @@ -606,8 +606,9 @@ function field_info_fields() { * * @param $field_name * The name of the field to retrieve. $field_name can only refer to a - * non-deleted, active field. Use field_read_fields() to retrieve information - * on deleted or inactive fields. + * non-deleted, active field. For deleted fields, use + * field_info_field_by_id(). To retrieve information about inactive fields, + * use field_read_fields(). * * @return * The field array, as returned by field_read_fields(), with an @@ -628,7 +629,7 @@ function field_info_field($field_name) { * * @param $field_id * The id of the field to retrieve. $field_id can refer to a - * deleted field. + * deleted field, but not an inactive one. * * @return * The field array, as returned by field_read_fields(), with an |