summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.15/sites/all/modules/views/plugins/views_wizard/views_ui_base_views_wizard.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.15/sites/all/modules/views/plugins/views_wizard/views_ui_base_views_wizard.class.php')
-rw-r--r--kolab.org/www/drupal-7.15/sites/all/modules/views/plugins/views_wizard/views_ui_base_views_wizard.class.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/kolab.org/www/drupal-7.15/sites/all/modules/views/plugins/views_wizard/views_ui_base_views_wizard.class.php b/kolab.org/www/drupal-7.15/sites/all/modules/views/plugins/views_wizard/views_ui_base_views_wizard.class.php
index 09d9d32..8893ab8 100644
--- a/kolab.org/www/drupal-7.15/sites/all/modules/views/plugins/views_wizard/views_ui_base_views_wizard.class.php
+++ b/kolab.org/www/drupal-7.15/sites/all/modules/views/plugins/views_wizard/views_ui_base_views_wizard.class.php
@@ -1,5 +1,13 @@
<?php
+/**
+ * @file
+ * Provides the interface and base class for Views Wizard plugins.
+ */
+
+/**
+ * Defines a common interface for Views Wizard plugins.
+ */
interface ViewsWizardInterface {
function __construct($plugin);
@@ -549,6 +557,16 @@ class ViewsUiBaseViewsWizard implements ViewsWizardInterface {
}
}
}
+
+ // If any of the displays use the table style, take sure that the fields
+ // always have a labels by unsetting the override.
+ foreach ($display_options as &$options) {
+ if ($options['style_plugin'] == 'table') {
+ foreach ($display_options['default']['fields'] as &$field) {
+ unset($field['label']);
+ }
+ }
+ }
}
/**