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 0255179..36865ec 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 49ef067..19d8a0a 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 a2a9437..11e3a63 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)) {