summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwebchick2013-06-04 21:23:50 -0500
committerwebchick2013-06-04 21:23:50 -0500
commit5e54a114bb79afdf106a390b61888ad930c75e89 (patch)
tree63cc7df5746425b6181d3fef28d15009c84cd9b6
parent5021c480bce3627d4321d66b8db03abe9c1416fb (diff)
Issue #2002982 by chr.fritsch, Dan Reinders, danylevskyi: Rename Views method summary_name_field() to summaryNameField().
-rw-r--r--core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php4
-rw-r--r--core/modules/views/lib/Drupal/views/Plugin/views/argument/ManyToOne.php2
-rw-r--r--core/modules/views/lib/Drupal/views/Plugin/views/argument/String.php2
3 files changed, 4 insertions, 4 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 f864555..40ccdc7 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
@@ -808,7 +808,7 @@ abstract class ArgumentPluginBase extends HandlerBase {
// Add the field.
$this->base_alias = $this->query->add_field($this->tableAlias, $this->realField);
- $this->summary_name_field();
+ $this->summaryNameField();
return $this->summaryBasics();
}
@@ -816,7 +816,7 @@ abstract class ArgumentPluginBase extends HandlerBase {
* Add the name field, which is the field displayed in summary queries.
* This is often used when the argument is numeric.
*/
- function summary_name_field() {
+ protected function summaryNameField() {
// Add the 'name' field. For example, if this is a uid argument, the
// name field would be 'name' (i.e, the username).
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 0f5a07e..6074790 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
@@ -179,7 +179,7 @@ class ManyToOne extends ArgumentPluginBase {
// Add the field.
$this->base_alias = $this->query->add_field($this->tableAlias, $this->realField);
- $this->summary_name_field();
+ $this->summaryNameField();
return $this->summaryBasics();
}
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 ce22e1a..44bde0d 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
@@ -166,7 +166,7 @@ class String extends ArgumentPluginBase {
$this->query->set_count_field(NULL, $formula, $this->field, $this->field . '_truncated');
}
- $this->summary_name_field();
+ $this->summaryNameField();
return $this->summaryBasics(FALSE);
}