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 448663c..dfc5dc2 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 @@ -161,7 +161,7 @@ public function submitOptionsForm(&$form, &$form_state) { * Shortcut to display the value form. */ protected function showSortForm(&$form, &$form_state) { - $options = $this->sort_options(); + $options = $this->sortOptions(); if (!empty($options)) { $form['order'] = array( '#type' => 'radios', @@ -179,7 +179,7 @@ public function sortSubmit(&$form, &$form_state) { } * Provide a list of options for the default sort form. * Should be overridden by classes that don't override sort_form */ - function sort_options() { + function sortOptions() { return array( 'ASC' => t('Sort ascending'), 'DESC' => t('Sort descending'),