From 94a137d7a8ea796c33db5dbd44c5494965400bf4 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 8 May 2011 16:18:03 -0400 Subject: - Patch #1055234 by jhodgdon, linclark: field_bundle_settings() doc example is wrong. --- modules/field/field.info.inc | 2 +- modules/field/field.module | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/field/field.info.inc b/modules/field/field.info.inc index e09f44297..02707f6d3 100644 --- a/modules/field/field.info.inc +++ b/modules/field/field.info.inc @@ -732,7 +732,7 @@ function field_info_instance($entity_type, $field_name, $bundle_name) { * 'default' => array( * 'weight' => The weight of the component in displayed entities in * this view mode, - * 'visibility' => Whether the component is visible or hidden in + * 'visible' => TRUE if the component is visible, FALSE if hidden, in * displayed entities in this view mode, * ), * 'teaser' => array( diff --git a/modules/field/field.module b/modules/field/field.module index 163f44828..9e03c8d91 100644 --- a/modules/field/field.module +++ b/modules/field/field.module @@ -558,7 +558,7 @@ function _field_sort_items_value_helper($a, $b) { * // the 'default' mode: * 'default' => array( * 'weight' => The weight of the pseudo-field, - * 'visibility' => Whether the pseudo-field is visible or hidden, + * 'visible' => TRUE if the pseudo-field is visible, FALSE if hidden, * ), * 'full' => ... * ), -- cgit v1.2.3