diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/filter/TaxonomyIndexTid.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/filter/TaxonomyIndexTid.php index f485ac6..e791f89 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/filter/TaxonomyIndexTid.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/filter/TaxonomyIndexTid.php @@ -165,7 +165,7 @@ function value_form(&$form, &$form_state) { $identifier = $this->options['expose']['identifier']; if (!empty($this->options['expose']['reduce'])) { - $options = $this->reduce_value_options($options); + $options = $this->reduceValueOptions($options); if (!empty($this->options['expose']['multiple']) && empty($this->options['expose']['required'])) { $default_value = array(); diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/filter/InOperator.php b/core/modules/views/lib/Drupal/views/Plugin/views/filter/InOperator.php index dfe89ea..f8b6c6b 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/filter/InOperator.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/filter/InOperator.php @@ -193,7 +193,7 @@ function value_form(&$form, &$form_state) { } if (!empty($this->options['expose']['reduce'])) { - $options = $this->reduce_value_options(); + $options = $this->reduceValueOptions(); if (!empty($this->options['expose']['multiple']) && empty($this->options['expose']['required'])) { $default_value = array(); @@ -247,7 +247,7 @@ function value_form(&$form, &$form_state) { /** * When using exposed filters, we may be required to reduce the set. */ - function reduce_value_options($input = NULL) { + public function reduceValueOptions($input = NULL) { if (!isset($input)) { $input = $this->value_options; } @@ -258,7 +258,7 @@ function reduce_value_options($input = NULL) { $options = array(); foreach ($input as $id => $option) { if (is_array($option)) { - $options[$id] = $this->reduce_value_options($option); + $options[$id] = $this->reduceValueOptions($option); continue; } elseif (is_object($option)) {