From 05160e446b0c34661ca97b5db04e5f811ddb802a Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Sun, 8 May 2011 16:18:15 -0400
Subject: [PATCH] - 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(-)

diff --git a/modules/field/field.info.inc b/modules/field/field.info.inc
index e09f44297e2f..02707f6d3fc4 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 163f44828cd8..9e03c8d911dc 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' => ...
  *       ),
-- 
GitLab