diff --git a/core/modules/node/lib/Drupal/node/Plugin/views/filter/Access.php b/core/modules/node/lib/Drupal/node/Plugin/views/filter/Access.php index f9e66b9..bf09edf 100644 --- a/core/modules/node/lib/Drupal/node/Plugin/views/filter/Access.php +++ b/core/modules/node/lib/Drupal/node/Plugin/views/filter/Access.php @@ -20,7 +20,7 @@ class Access extends FilterPluginBase { public function adminSummary() { } - function operator_form(&$form, &$form_state) { } + public function operatorForm(&$form, &$form_state) { } public function canExpose() { return FALSE; } diff --git a/core/modules/node/lib/Drupal/node/Plugin/views/filter/Status.php b/core/modules/node/lib/Drupal/node/Plugin/views/filter/Status.php index 3ae361e..aed1ae0 100644 --- a/core/modules/node/lib/Drupal/node/Plugin/views/filter/Status.php +++ b/core/modules/node/lib/Drupal/node/Plugin/views/filter/Status.php @@ -21,7 +21,7 @@ class Status extends FilterPluginBase { public function adminSummary() { } - function operator_form(&$form, &$form_state) { } + public function operatorForm(&$form, &$form_state) { } public function canExpose() { return FALSE; } 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 480d2cb..dce83c9 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 @@ -96,7 +96,7 @@ protected function defineOptions() { return $options; } - function operator_form(&$form, &$form_state) { + public function operatorForm(&$form, &$form_state) { $form['operator'] = array(); } 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 90b7efa..009e7e9 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 @@ -216,7 +216,7 @@ public function buildOptionsForm(&$form, &$form_state) { } } else { - // Add the subform from operator_form(). + // Add the subform from operatorForm(). $this->showOperatorForm($form, $form_state); // Add the subform from value_form(). $this->show_value_form($form, $form_state); @@ -266,7 +266,7 @@ public function submitOptionsForm(&$form, &$form_state) { * Shortcut to display the operator form. */ public function showOperatorForm(&$form, &$form_state) { - $this->operator_form($form, $form_state); + $this->operatorForm($form, $form_state); $form['operator']['#prefix'] = '