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

Issue #2003246 by endorn, Dan Reinders, nathangervais: Rename Views method...

Issue #2003246 by endorn, Dan Reinders, nathangervais: Rename Views method sort_options() to sortOptions().
parent 85ad766b
No related branches found
No related tags found
No related merge requests found
......@@ -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() {
protected function sortOptions() {
return array(
'ASC' => t('Sort ascending'),
'DESC' => t('Sort descending'),
......
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