diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php b/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php
index 3f7c8bd..1134462 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php
@@ -1657,7 +1657,7 @@ function get_aggregation_info() {
       ),
       'count' => array(
         'title' => t('Count'),
-        'method' => 'aggregation_method_simple',
+        'method' => 'aggregationMethodSimple',
         'handler' => array(
           'argument' => 'groupby_numeric',
           'field' => 'numeric',
@@ -1677,7 +1677,7 @@ function get_aggregation_info() {
       ),
       'sum' => array(
         'title' => t('Sum'),
-        'method' => 'aggregation_method_simple',
+        'method' => 'aggregationMethodSimple',
         'handler' => array(
           'argument' => 'groupby_numeric',
           'field' => 'numeric',
@@ -1687,7 +1687,7 @@ function get_aggregation_info() {
       ),
       'avg' => array(
         'title' => t('Average'),
-        'method' => 'aggregation_method_simple',
+        'method' => 'aggregationMethodSimple',
         'handler' => array(
           'argument' => 'groupby_numeric',
           'field' => 'numeric',
@@ -1697,7 +1697,7 @@ function get_aggregation_info() {
       ),
       'min' => array(
         'title' => t('Minimum'),
-        'method' => 'aggregation_method_simple',
+        'method' => 'aggregationMethodSimple',
         'handler' => array(
           'argument' => 'groupby_numeric',
           'field' => 'numeric',
@@ -1707,7 +1707,7 @@ function get_aggregation_info() {
       ),
       'max' => array(
         'title' => t('Maximum'),
-        'method' => 'aggregation_method_simple',
+        'method' => 'aggregationMethodSimple',
         'handler' => array(
           'argument' => 'groupby_numeric',
           'field' => 'numeric',
@@ -1717,7 +1717,7 @@ function get_aggregation_info() {
       ),
       'stddev_pop' => array(
         'title' => t('Standard deviation'),
-        'method' => 'aggregation_method_simple',
+        'method' => 'aggregationMethodSimple',
         'handler' => array(
           'argument' => 'groupby_numeric',
           'field' => 'numeric',
@@ -1728,7 +1728,7 @@ function get_aggregation_info() {
     );
   }
 
-  function aggregation_method_simple($group_type, $field) {
+  public function aggregationMethodSimple($group_type, $field) {
     return strtoupper($group_type) . '(' . $field . ')';
   }
 
