From f8b6ec887f84839f6d3e8df17e30568691bf562b Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Tue, 11 Jun 2013 12:38:07 +0100 Subject: [PATCH] Issue #2003242 by farfanfelipe, Dan Reinders, marlatt: Rename Views method sort_validate() to sortValidate(). --- .../lib/Drupal/views/Plugin/views/sort/SortPluginBase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/sort/SortPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/sort/SortPluginBase.php index 448663cae01..913e3101f60 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/sort/SortPluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/sort/SortPluginBase.php @@ -139,7 +139,7 @@ abstract class SortPluginBase extends HandlerBase { * Simple validate handler */ public function validateOptionsForm(&$form, &$form_state) { - $this->sort_validate($form, $form_state); + $this->sortValidate($form, $form_state); if (!empty($this->options['exposed'])) { $this->validateExposeForm($form, $form_state); } @@ -171,7 +171,7 @@ abstract class SortPluginBase extends HandlerBase { } } - function sort_validate(&$form, &$form_state) { } + protected function sortValidate(&$form, &$form_state) { } public function sortSubmit(&$form, &$form_state) { }