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 36865ec..3889dcc 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 @@ -273,7 +273,7 @@ function exposed_form_validate(&$form, &$form_state) { */ 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); + $this->resetForm($form, $form_state); } if (isset($form_state['pager_plugin'])) { $form_state['pager_plugin']->exposedFormSubmit($form, $form_state, $exclude); @@ -281,7 +281,7 @@ public function exposedFormSubmit(&$form, &$form_state, &$exclude) { } } - function reset_form(&$form, &$form_state) { + public function resetForm(&$form, &$form_state) { // _SESSION is not defined for users who are not logged in. // If filters are not overridden, store the 'remember' settings on the