Skip to content
Snippets Groups Projects
Commit 18fad647 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2002394 by broeker, jibran: Rename Views method build_sorts() to buildSorts().

parent b2d4053f
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -207,7 +207,7 @@ function build_form(array $form, array &$form_state) {
// Add filters and sorts which apply to the view as a whole.
$this->buildFilters($form, $form_state);
$this->build_sorts($form, $form_state);
$this->buildSorts($form, $form_state);
$form['displays']['page'] = array(
'#type' => 'fieldset',
......@@ -584,7 +584,7 @@ protected function buildFilters(&$form, &$form_state) {
*
* By default, this adds a "sorted by [date]" filter (when it is available).
*/
protected function build_sorts(&$form, &$form_state) {
protected function buildSorts(&$form, &$form_state) {
$sorts = array(
'none' => t('Unsorted'),
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment