diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/style/Table.php b/core/modules/views/lib/Drupal/views/Plugin/views/style/Table.php index 3956202..c1e6cf7 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/style/Table.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/style/Table.php @@ -185,7 +185,7 @@ function build_sort_post() { * @return array * An array of all the sanitized columns. */ - function sanitize_columns($columns, $fields = NULL) { + public function sanitizeColumns($columns, $fields = NULL) { $sanitized = array(); if ($fields === NULL) { $fields = $this->displayHandler->getOption('fields'); @@ -254,7 +254,7 @@ public function buildOptionsForm(&$form, &$form_state) { // will have to register your theme handlers if you do stuff like this. $form['#theme'] = 'views_ui_style_plugin_table'; - $columns = $this->sanitize_columns($this->options['columns']); + $columns = $this->sanitizeColumns($this->options['columns']); // Create an array of allowed columns from the data we know: $field_names = $this->displayHandler->getFieldLabels(); diff --git a/core/modules/views/views.theme.inc b/core/modules/views/views.theme.inc index 049815c..f7b96aa 100644 --- a/core/modules/views/views.theme.inc +++ b/core/modules/views/views.theme.inc @@ -551,7 +551,7 @@ function template_preprocess_views_view_table(&$vars) { $row_class_special = isset($options['row_class_special']) ? $options['row_class_special'] : TRUE; $fields = &$view->field; - $columns = $handler->sanitize_columns($options['columns'], $fields); + $columns = $handler->sanitizeColumns($options['columns'], $fields); $active = !empty($handler->active) ? $handler->active : ''; $order = !empty($handler->order) ? $handler->order : 'asc';