From 4547223c34409789708ed99a4501f15f320d06d0 Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Wed, 29 May 2013 07:16:44 +0100 Subject: [PATCH] Issue #2002988 by kenianbei, tvlooy: Rename Views method summary_basics() to summaryBasics(). --- .../Drupal/views/Plugin/views/argument/ArgumentPluginBase.php | 4 ++-- .../views/lib/Drupal/views/Plugin/views/argument/Formula.php | 2 +- .../lib/Drupal/views/Plugin/views/argument/ManyToOne.php | 2 +- .../views/lib/Drupal/views/Plugin/views/argument/String.php | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php index 0b7ef4e7556..5f4ba171247 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php @@ -809,7 +809,7 @@ abstract class ArgumentPluginBase extends HandlerBase { $this->base_alias = $this->query->add_field($this->tableAlias, $this->realField); $this->summary_name_field(); - return $this->summary_basics(); + return $this->summaryBasics(); } /** @@ -851,7 +851,7 @@ abstract class ArgumentPluginBase extends HandlerBase { * Some basic summary behavior that doesn't need to be repeated as much as * code that goes into summary_query() */ - function summary_basics($count_field = TRUE) { + public function summaryBasics($count_field = TRUE) { // Add the number of nodes counter $distinct = ($this->view->display_handler->getOption('distinct') && empty($this->query->no_distinct)); diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/argument/Formula.php b/core/modules/views/lib/Drupal/views/Plugin/views/argument/Formula.php index 64eddc9b596..89adc6b7ce8 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/argument/Formula.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/argument/Formula.php @@ -54,7 +54,7 @@ class Formula extends ArgumentPluginBase { $this->base_alias = $this->name_alias = $this->query->add_field(NULL, $formula, $this->field); $this->query->set_count_field(NULL, $formula, $this->field); - return $this->summary_basics(FALSE); + return $this->summaryBasics(FALSE); } /** diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/argument/ManyToOne.php b/core/modules/views/lib/Drupal/views/Plugin/views/argument/ManyToOne.php index 803d31a0e04..2cb77e03315 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/argument/ManyToOne.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/argument/ManyToOne.php @@ -181,7 +181,7 @@ class ManyToOne extends ArgumentPluginBase { $this->summary_name_field(); - return $this->summary_basics(); + return $this->summaryBasics(); } function summary_argument($data) { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/argument/String.php b/core/modules/views/lib/Drupal/views/Plugin/views/argument/String.php index 7047df2312c..b3ad489eb67 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/argument/String.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/argument/String.php @@ -167,7 +167,7 @@ class String extends ArgumentPluginBase { } $this->summary_name_field(); - return $this->summary_basics(FALSE); + return $this->summaryBasics(FALSE); } /**