diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument_validator/Term.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument_validator/Term.php index fafe15d..b93aa87 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument_validator/Term.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument_validator/Term.php @@ -182,7 +182,7 @@ function validate_argument($argument) { } } - function process_summary_arguments(&$args) { + public function processSummaryArguments(&$args) { $type = $this->options['type']; $transform = $this->options['transform']; diff --git a/core/modules/user/lib/Drupal/user/Plugin/views/argument_validator/User.php b/core/modules/user/lib/Drupal/user/Plugin/views/argument_validator/User.php index 929ed42..cc518c3 100644 --- a/core/modules/user/lib/Drupal/user/Plugin/views/argument_validator/User.php +++ b/core/modules/user/lib/Drupal/user/Plugin/views/argument_validator/User.php @@ -137,7 +137,7 @@ function validate_argument($argument) { return TRUE; } - function process_summary_arguments(&$args) { + public function processSummaryArguments(&$args) { // If the validation says the input is an username, we should reverse the // argument so it works for example for generation summary urls. $uids_arg_keys = array_flip($args); 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 a7c04a5..4d7d169 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 @@ -754,10 +754,10 @@ public function getDefaultArgument() { * For example, the validation plugin may want to alter an argument for use in * the URL. */ - function process_summary_arguments(&$args) { + public function processSummaryArguments(&$args) { if ($this->options['validate']['type'] != 'none') { if (isset($this->validator) || $this->validator = $this->getPlugin('argument_validator')) { - $this->validator->process_summary_arguments($args); + $this->validator->processSummaryArguments($args); } } } diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php index 0e33ad6..e7945dc 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php @@ -90,7 +90,7 @@ function validate_argument($arg) { return TRUE; } * for a faster query. But there are use cases where you want to use * the old value again, for example the summary. */ - function process_summary_arguments(&$args) { } + public function processSummaryArguments(&$args) { } } diff --git a/core/modules/views/views.theme.inc b/core/modules/views/views.theme.inc index 10c771b..b72c70f 100644 --- a/core/modules/views/views.theme.inc +++ b/core/modules/views/views.theme.inc @@ -435,7 +435,7 @@ function template_preprocess_views_view_summary(&$vars) { foreach ($vars['rows'] as $id => $row) { $row_args[$id] = $argument->summaryArgument($row); } - $argument->process_summary_arguments($row_args); + $argument->processSummaryArguments($row_args); foreach ($vars['rows'] as $id => $row) { $vars['rows'][$id]->link = $argument->summaryName($row); @@ -495,7 +495,7 @@ function template_preprocess_views_view_summary_unformatted(&$vars) { foreach ($vars['rows'] as $id => $row) { $row_args[$id] = $argument->summaryArgument($row); } - $argument->process_summary_arguments($row_args); + $argument->processSummaryArguments($row_args); foreach ($vars['rows'] as $id => $row) { // Only false on first time.