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..2a704be 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 @@ -211,7 +211,7 @@ function value_form(&$form, &$form_state) { } } - function value_validate($form, &$form_state) { + public function valueValidate($form, &$form_state) { // We only validate if they've chosen the text field style. if ($this->options['type'] != 'textfield') { return; diff --git a/core/modules/user/lib/Drupal/user/Plugin/views/filter/Name.php b/core/modules/user/lib/Drupal/user/Plugin/views/filter/Name.php index 8c5104c..b0b6ed6 100644 --- a/core/modules/user/lib/Drupal/user/Plugin/views/filter/Name.php +++ b/core/modules/user/lib/Drupal/user/Plugin/views/filter/Name.php @@ -50,7 +50,7 @@ function value_form(&$form, &$form_state) { } } - function value_validate($form, &$form_state) { + public function valueValidate($form, &$form_state) { $values = drupal_explode_tags($form_state['values']['options']['value']); $uids = $this->validate_user_strings($form['value'], $values); diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/filter/BooleanOperator.php b/core/modules/views/lib/Drupal/views/Plugin/views/filter/BooleanOperator.php index e5327f1..baae564 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/filter/BooleanOperator.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/filter/BooleanOperator.php @@ -135,7 +135,7 @@ function value_form(&$form, &$form_state) { } } - function value_validate($form, &$form_state) { + public function valueValidate($form, &$form_state) { if ($form_state['values']['options']['value'] == 'All' && !empty($form_state['values']['options']['expose']['required'])) { form_set_error('value', t('You must select a value unless this is an non-required exposed filter.')); } diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php index e0dd2d5..ac1d00c 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php @@ -235,7 +235,7 @@ public function buildOptionsForm(&$form, &$form_state) { */ public function validateOptionsForm(&$form, &$form_state) { $this->operator_validate($form, $form_state); - $this->value_validate($form, $form_state); + $this->valueValidate($form, $form_state); if (!empty($this->options['exposed']) && !$this->isAGroup()) { $this->validateExposeForm($form, $form_state); } @@ -332,7 +332,7 @@ function value_form(&$form, &$form_state) { $form['value'] = array(); } /** * Validate the options form. */ - function value_validate($form, &$form_state) { } + public function valueValidate($form, &$form_state) { } /** * Perform any necessary changes to the form values prior to storage.