diff --git a/modules/field/field.info.inc b/modules/field/field.info.inc index 396ad5fd19508d52e4a7cdc82be1624050179edc..02b3c9ca460ab9b0323557e6ed83aa69cef8effd 100644 --- a/modules/field/field.info.inc +++ b/modules/field/field.info.inc @@ -449,6 +449,17 @@ function field_info_bundles($entity_type = NULL) { * - type: The field type. * - bundles: The bundles in which the field appears, as an array with entity * types as keys and the array of bundle names as values. + * Example: + * @code + * array( + * 'body' => array( + * 'bundles' => array( + * 'node' => array('page', 'article'), + * ), + * 'type' => 'text_with_summary', + * ), + * ); + * @endcode */ function field_info_field_map() { $cache = _field_info_field_cache();