diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php index 2fe7cfa..a5b43ca 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php @@ -557,7 +557,7 @@ function render_grouping($records, $groupings = array(), $group_rendered = NULL) } } else { - $grouping = $this->get_field_value($index, $field); + $grouping = $this->getFieldValue($index, $field); // Not all field handlers return a scalar value, // e.g. views_handler_field_field. if (!is_scalar($grouping)) { @@ -662,7 +662,7 @@ public function get_field($index, $field) { * @param $field * The id of the field. */ - function get_field_value($index, $field) { + protected function getFieldValue($index, $field) { $this->view->row_index = $index; $value = $this->view->field[$field]->get_value($this->view->result[$index]); unset($this->view->row_index);