summaryrefslogtreecommitdiff
path: root/modules/field/field.crud.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-06-24 18:16:38 +0000
committerDries Buytaert <dries@buytaert.net>2009-06-24 18:16:38 +0000
commitdaa0ec1684329d6c456d9bf72984d64b3d25bbc6 (patch)
treeb5243f977376e7023090c705fde7d6afe109f5f2 /modules/field/field.crud.inc
parent48d3eff243eaf503e788e77528eafa77126e3ae1 (diff)
downloadbrdo-daa0ec1684329d6c456d9bf72984d64b3d25bbc6.tar.gz
brdo-daa0ec1684329d6c456d9bf72984d64b3d25bbc6.tar.bz2
- Patch #367215 by yched, sun et al: remove 'exclude from ' display setting. Feel good moment!
Diffstat (limited to 'modules/field/field.crud.inc')
-rw-r--r--modules/field/field.crud.inc5
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/field/field.crud.inc b/modules/field/field.crud.inc
index 956122ecf..9dc190d50 100644
--- a/modules/field/field.crud.inc
+++ b/modules/field/field.crud.inc
@@ -145,8 +145,6 @@
* - label (string)
* Position of the label. 'inline', 'above' and 'hidden' are the
* values recognized by the default 'field' theme implementation.
- * - exclude (integer)
- * TODO This is subject to change, see: http://drupal.org/node/367215
* - type (string)
* The type of the display formatter to use for the field in
* this context.
@@ -405,8 +403,6 @@ function field_delete_field($field_name) {
* Settings for the 'full' build mode will be added, and each build mode
* will be completed with the follwong default values:
* - label: 'above'
- * - exclude: FALSE
- * TODO This is subject to change, see: http://drupal.org/node/367215
* - type: the default formatter specified in hook_field_info().
* - settings: each omitted setting is given the default value specified in
* hook_field_formatter_info().
@@ -540,7 +536,6 @@ function _field_write_instance($instance, $update = FALSE) {
foreach ($instance['display'] as $context => $display) {
$instance['display'][$context] += array(
'label' => 'above',
- 'exclude' => 0,
// TODO: what if no 'default_formatter' specified ?
'type' => $field_type['default_formatter'],
'settings' => array(),