Issue #2003246 by endorn, Dan Reinders, nathangervais: Rename Views method sort_options() to sortOptions().

8.0.x
Alex Pott 2013-06-11 23:39:54 +01:00
parent 85ad766b73
commit eb60f6f949
1 changed files with 2 additions and 2 deletions

View File

@ -161,7 +161,7 @@ abstract class SortPluginBase extends HandlerBase {
* 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 @@ abstract class SortPluginBase extends HandlerBase {
* 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'),