diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-12-17 00:49:56 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-12-17 00:49:56 +0000 |
commit | bc3f72a9787768c0efe9b95bc2b4ec4a6b1216c1 (patch) | |
tree | 0a0d53dc1eea44953c05b69fd142df22e69be914 /modules | |
parent | 9fd8b30dfb2eaf4651d049f742a908087cf4de8f (diff) | |
download | brdo-bc3f72a9787768c0efe9b95bc2b4ec4a6b1216c1.tar.gz brdo-bc3f72a9787768c0efe9b95bc2b4ec4a6b1216c1.tar.bz2 |
- Patch #998016 by sven.lauer: _field_info_collate_fields() doc has the return values backwards.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/field/field.info.inc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/field/field.info.inc b/modules/field/field.info.inc index c3b29573f..33c43d57b 100644 --- a/modules/field/field.info.inc +++ b/modules/field/field.info.inc @@ -167,15 +167,15 @@ function _field_info_collate_types($reset = FALSE) { * @return * If $reset is TRUE, nothing. * If $reset is FALSE, an array containing the following elements: - * - fields: Array of existing fields, keyed by field name. This entry only - * lists non-deleted fields. Each field has an additional element, - * 'bundles', which is an array of all non-deleted instances to which the - * field is assigned. - * - fields_id: Array of existing fields, keyed by field id. This entry lists - * both deleted and non-deleted fields. The bundles element is the same as - * for 'fields'. + * - fields: Array of existing fields, keyed by field ID. This element + * lists deleted and non-deleted fields, but not inactive ones. + * Each field has an additional element, 'bundles', which is an array + * of all non-deleted instances of that field. + * - field_ids: Array of field IDs, keyed by field name. This element + * only lists non-deleted, active fields. * - instances: Array of existing instances, keyed by entity type, bundle - * name and field name. This entry only lists non-deleted instances. + * name and field name. This element only lists non-deleted instances + * whose field is active. */ function _field_info_collate_fields($reset = FALSE) { static $info; |