Commit 6c765be3 authored by alexpott's avatar alexpott
Browse files

Issue #2002452 by hoZt: Rename Views method default_display_sorts() to defaultDisplaySorts().

parent 4f3bed69
...@@ -657,7 +657,7 @@ protected function build_display_options($form, $form_state) { ...@@ -657,7 +657,7 @@ protected function build_display_options($form, $form_state) {
'sorts' => array(), 'sorts' => array(),
); );
$display_options['default']['filters'] += $this->default_display_filters($form, $form_state); $display_options['default']['filters'] += $this->default_display_filters($form, $form_state);
$display_options['default']['sorts'] += $this->default_display_sorts($form, $form_state); $display_options['default']['sorts'] += $this->defaultDisplaySorts($form, $form_state);
// Display: Page // Display: Page
if (!empty($form_state['values']['page']['create'])) { if (!empty($form_state['values']['page']['create'])) {
...@@ -881,7 +881,7 @@ protected function default_display_filters_user(array $form, array &$form_state) ...@@ -881,7 +881,7 @@ protected function default_display_filters_user(array $form, array &$form_state)
* An array of sort arrays keyed by ID. A sort array contains the options * An array of sort arrays keyed by ID. A sort array contains the options
* accepted by a sort handler. * accepted by a sort handler.
*/ */
protected function default_display_sorts($form, $form_state) { protected function defaultDisplaySorts($form, $form_state) {
$sorts = array(); $sorts = array();
// Add any sorts provided by the plugin. // Add any sorts provided by the plugin.
......
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