diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/exposed_form/ExposedFormPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/exposed_form/ExposedFormPluginBase.php index 02551799a21edf76a16b1b77f2fa7096726ea3e5..36865ec9d74ad9f42cf7d4d070534cc26b4a030f 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/exposed_form/ExposedFormPluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/exposed_form/ExposedFormPluginBase.php @@ -271,12 +271,12 @@ function exposed_form_validate(&$form, &$form_state) { * Nested array of keys to exclude of insert into * $view->exposed_raw_input */ - function exposed_form_submit(&$form, &$form_state, &$exclude) { + public function exposedFormSubmit(&$form, &$form_state, &$exclude) { if (!empty($form_state['values']['op']) && $form_state['values']['op'] == $this->options['reset_button_label']) { $this->reset_form($form, $form_state); } if (isset($form_state['pager_plugin'])) { - $form_state['pager_plugin']->exposed_form_submit($form, $form_state, $exclude); + $form_state['pager_plugin']->exposedFormSubmit($form, $form_state, $exclude); $exclude[] = 'pager_plugin'; } } diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/pager/PagerPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/pager/PagerPluginBase.php index 0f899f5353a5c77749a778f906b0d81261f27076..2818f59f10edec01f657d8fe28fc67a5ad486124 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/pager/PagerPluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/pager/PagerPluginBase.php @@ -243,7 +243,7 @@ function exposed_form_alter(&$form, &$form_state) { } function exposed_form_validate(&$form, &$form_state) { } - function exposed_form_submit(&$form, &$form_state, &$exclude) { } + public function exposedFormSubmit(&$form, &$form_state, &$exclude) { } function uses_exposed() { return FALSE; diff --git a/core/modules/views/views.module b/core/modules/views/views.module index c0a9038281a3111a251ee8e764fc2bad7f7380cc..cf577bf943782bfa119cef6ab0801cec17fb5c4f 100644 --- a/core/modules/views/views.module +++ b/core/modules/views/views.module @@ -1460,7 +1460,7 @@ function views_exposed_form_submit(&$form, &$form_state) { $exclude = array('submit', 'form_build_id', 'form_id', 'form_token', 'exposed_form_plugin', '', 'reset'); $exposed_form_plugin = $form_state['exposed_form_plugin']; - $exposed_form_plugin->exposed_form_submit($form, $form_state, $exclude); + $exposed_form_plugin->exposedFormSubmit($form, $form_state, $exclude); foreach ($form_state['values'] as $key => $value) { if (!in_array($key, $exclude)) {