summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2011-05-08 16:18:03 -0400
committerDries Buytaert <dries@buytaert.net>2011-05-08 16:18:03 -0400
commit94a137d7a8ea796c33db5dbd44c5494965400bf4 (patch)
tree253ef5c5abbff07286793950ce373ad4e1741f03 /modules
parenta22d7770d49716224b3c0ff43bf210b202d797dd (diff)
downloadbrdo-94a137d7a8ea796c33db5dbd44c5494965400bf4.tar.gz
brdo-94a137d7a8ea796c33db5dbd44c5494965400bf4.tar.bz2
- Patch #1055234 by jhodgdon, linclark: field_bundle_settings() doc example is wrong.
Diffstat (limited to 'modules')
-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' => ...
* ),