summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/field/field.info.inc2
-rw-r--r--modules/field/field.module2
2 files changed, 2 insertions, 2 deletions
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' => ...
* ),