Commit 18fad647 authored by alexpott's avatar alexpott
Browse files

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

parent b2d4053f
...@@ -207,7 +207,7 @@ function build_form(array $form, array &$form_state) { ...@@ -207,7 +207,7 @@ function build_form(array $form, array &$form_state) {
// Add filters and sorts which apply to the view as a whole. // Add filters and sorts which apply to the view as a whole.
$this->buildFilters($form, $form_state); $this->buildFilters($form, $form_state);
$this->build_sorts($form, $form_state); $this->buildSorts($form, $form_state);
$form['displays']['page'] = array( $form['displays']['page'] = array(
'#type' => 'fieldset', '#type' => 'fieldset',
...@@ -584,7 +584,7 @@ protected function buildFilters(&$form, &$form_state) { ...@@ -584,7 +584,7 @@ protected function buildFilters(&$form, &$form_state) {
* *
* By default, this adds a "sorted by [date]" filter (when it is available). * 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( $sorts = array(
'none' => t('Unsorted'), 'none' => t('Unsorted'),
); );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment